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, waitgetObject, getPredicate, getSubject, isTripleisResourcepublic String stringValue()
ValueLiteral's label, a
IRI's URI or a BNode's ID.stringValue in interface Valuepublic boolean equals(Object o)
Triplepublic int hashCode()
TriplehashCode in interface TriplehashCode in class ObjectObjects.hash(
Triple.getSubject(), Triple.getPredicate(), Triple.getObject())Copyright © 2015-2022 Eclipse Foundation. All Rights Reserved.