public interface Triple
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Resource |
getObject() |
UriRef |
getPredicate() |
NonLiteral |
getSubject() |
int |
hashCode()
The hash code is computed as follow
(subject.hashCode() >> 1) ^ predicate.hashCode() ^ object.hashCode() << 1)
Note that the hash returned is computed including the hash of BNodes, so
it is not blank-node blind as in Graph.
|
NonLiteral getSubject()
UriRef getPredicate()
Resource getObject()
boolean equals(Object obj)
int hashCode()
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.