Class AbstractStatement
java.lang.Object
org.eclipse.rdf4j.model.base.AbstractStatement
- All Implemented Interfaces:
Serializable, Statement
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from interface Statement
getContext, getObject, getPredicate, getSubjectModifier and TypeMethodDescriptionGets the context of this statement.Gets the object of this statement.Gets the predicate of this statement.Gets the subject of this statement.
-
Constructor Details
-
AbstractStatement
public AbstractStatement()
-
-
Method Details
-
equals
Description copied from interface:StatementCompares this statement to another object. -
hashCode
public int hashCode()Description copied from interface:StatementComputes the hash code of this statement.- Specified by:
hashCodein interfaceStatement- Overrides:
hashCodein classObject- Returns:
- a hash code for this statement computed as
Objects.hash(Statement.getSubject(),Statement.getPredicate(),Statement.getObject(),Statement.getContext())
-
toString
-