Class AbstractTriple
java.lang.Object
org.eclipse.rdf4j.model.base.AbstractTriple
- All Implemented Interfaces:
Serializable, Resource, Triple, Value
- Direct Known Subclasses:
SimpleTriple
-
Nested Class Summary
Nested classes/interfaces inherited from interface Value
Value.Type -
Constructor Summary
Constructors -
Method Summary
Methods inherited from interface Resource
isResourceModifier and TypeMethodDescriptiondefault booleanCheck if the object is an instance of the given type.Methods inherited from interface Triple
getObject, getPredicate, getSubject, getType, isTripleModifier and TypeMethodDescriptionGets the object of this triple.Gets the predicate of this triple.Gets the subject of this triple.default Value.TypegetType()default booleanisTriple()Check if the object is an instance of the given type.
-
Constructor Details
-
AbstractTriple
public AbstractTriple()
-
-
Method Details
-
stringValue
-
equals
Description copied from interface:TripleCompares this triple to another object. -
hashCode
public int hashCode()Description copied from interface:TripleComputes the hash code of this triple.- Specified by:
hashCodein interfaceTriple- Overrides:
hashCodein classObject- Returns:
- a hash code for this triple computed as
Objects.hash(Triple.getSubject(),Triple.getPredicate(),Triple.getObject())
-
toString
-