@Experimental public interface Triple extends Resource
Statement
, a triple never has an
associated context.Statements
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other)
Compares this triple to another object.
|
Value |
getObject()
Gets the object of this triple.
|
IRI |
getPredicate()
Gets the predicate of this triple.
|
Resource |
getSubject()
Gets the subject of this triple.
|
int |
hashCode()
Computes the hash code of this triple.
|
stringValue
Resource getSubject()
IRI getPredicate()
Value getObject()
boolean equals(Object other)
equals
in class Object
other
- the object to compare this triple totrue
if the other
object is an instance of Triple
and if their
subjects, predicates and objects are equal; false
otherwiseint hashCode()
hashCode
in class Object
Objects.hash
(
getSubject()
, getPredicate()
, getObject()
)Copyright © 2015-2020 Eclipse Foundation. All Rights Reserved.