/** * Creates a Concept instance from a String version of it. * * @param concept The string version of the Concept. * @return A Concept or null if the string does not match any known Concept. */ public static Concept from(String concept) { return KNOWN_CONCEPTS.stream().filter(c -> c.isMe(concept)).findFirst().orElse(null); } }