@Test public final void testGet() { assertTrue(Types.get( new IRIImpl("http: .isPresent()); assertEquals( "http: Types.get( new IRIImpl("http: .get().getIRIString()); assertFalse(Types.get( new IRIImpl("http: .isPresent()); }
public static Optional<IRI> get(IRI nextIRI) { for (IRI nextType : values()) { if (nextType.equals(nextIRI)) { return Optional.of(nextType); } } return Optional.empty(); }
Types implements IRI { public static Optional<IRI> get(IRI nextIRI) { for (IRI nextType : values()) { if (nextType.equals(nextIRI)) { return Optional.of(nextType); } } return Optional.empty(); } }
Types implements IRI { public static Optional<IRI> get(IRI nextIRI) { for (IRI nextType : values()) { if (nextType.equals(nextIRI)) { return Optional.of(nextType); } } return Optional.empty(); } private  Types(String field); }
Types implements IRI { public static Optional<IRI> get(IRI nextIRI) { for (IRI nextType : values()) { if (nextType.equals(nextIRI)) { return Optional.of(nextType); } } return Optional.empty(); } private  Types(String field); @Override String getIRIString(); @Override String ntriplesString(); @Override boolean equals(Object other); @Override int hashCode(); @Override String toString(); static Set<IRI> values(); static Optional<IRI> get(IRI nextIRI); }
Types implements IRI { public static Optional<IRI> get(IRI nextIRI) { for (IRI nextType : values()) { if (nextType.equals(nextIRI)) { return Optional.of(nextType); } } return Optional.empty(); } private  Types(String field); @Override String getIRIString(); @Override String ntriplesString(); @Override boolean equals(Object other); @Override int hashCode(); @Override String toString(); static Set<IRI> values(); static Optional<IRI> get(IRI nextIRI); static final Types RDF_HTML; static final Types RDF_LANGSTRING; @Deprecated
	static final Types RDF_PLAINLITERAL; static final Types RDF_XMLLITERAL; static final Types XSD_ANYURI; static final Types XSD_BASE64BINARY; static final Types XSD_BOOLEAN; static final Types XSD_BYTE; static final Types XSD_DATE; static final Types XSD_DATETIME; static final Types XSD_DAYTIMEDURATION; static final Types XSD_DECIMAL; static final Types XSD_DOUBLE; static final Types XSD_DURATION; static final Types XSD_FLOAT; static final Types XSD_GDAY; static final Types XSD_GMONTH; static final Types XSD_GMONTHDAY; static final Types XSD_GYEAR; static final Types XSD_GYEARMONTH; static final Types XSD_HEXBINARY; static final Types XSD_INT; static final Types XSD_INTEGER; static final Types XSD_LANGUAGE; static final Types XSD_LONG; static final Types XSD_NAME; static final Types XSD_NCNAME; static final Types XSD_NEGATIVEINTEGER; static final Types XSD_NMTOKEN; static final Types XSD_NONNEGATIVEINTEGER; static final Types XSD_NONPOSITIVEINTEGER; static final Types XSD_NORMALIZEDSTRING; static final Types XSD_POSITIVEINTEGER; static final Types XSD_SHORT; static final Types XSD_STRING; static final Types XSD_TIME; static final Types XSD_TOKEN; static final Types XSD_UNSIGNEDBYTE; static final Types XSD_UNSIGNEDINT; static final Types XSD_UNSIGNEDLONG; static final Types XSD_UNSIGNEDSHORT; }