public abstract class AbstractTriple extends Object implements Triple
Triple
, offering common functionality.Constructor and Description |
---|
AbstractTriple() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o)
Compares this triple to another object.
|
int |
hashCode()
Computes the hash code of this triple.
|
String |
stringValue()
Returns the String-value of a Value object.
|
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getObject, getPredicate, getSubject, isTriple
isResource
public String stringValue()
Value
Literal
's label, a
IRI
's URI or a BNode
's ID.stringValue
in interface Value
public boolean equals(Object o)
Triple
public int hashCode()
Triple
hashCode
in interface Triple
hashCode
in class Object
Objects.hash
(
Triple.getSubject()
, Triple.getPredicate()
, Triple.getObject()
)Copyright © 2015-2022 Eclipse Foundation. All Rights Reserved.