Record Class SteinerSubgraph.SteinerTripleKey
java.lang.Object
java.lang.Record
org.impulsegraph.api.traversal.SteinerSubgraph.SteinerTripleKey
- Enclosing class:
SteinerSubgraph
-
Constructor Summary
ConstructorsConstructorDescriptionSteinerTripleKey(String srcKey, String relation, String tgtKey, long laneMask) Creates an instance of aSteinerTripleKeyrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.longlaneMask()Returns the value of thelaneMaskrecord component.relation()Returns the value of therelationrecord component.srcKey()Returns the value of thesrcKeyrecord component.tgtKey()Returns the value of thetgtKeyrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SteinerTripleKey
Creates an instance of aSteinerTripleKeyrecord class.- Parameters:
srcKey- the value for thesrcKeyrecord componentrelation- the value for therelationrecord componenttgtKey- the value for thetgtKeyrecord componentlaneMask- the value for thelaneMaskrecord component
-
-
Method Details
-
targetKey
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
srcKey
Returns the value of thesrcKeyrecord component.- Returns:
- the value of the
srcKeyrecord component
-
relation
Returns the value of therelationrecord component.- Returns:
- the value of the
relationrecord component
-
tgtKey
Returns the value of thetgtKeyrecord component.- Returns:
- the value of the
tgtKeyrecord component
-
laneMask
public long laneMask()Returns the value of thelaneMaskrecord component.- Returns:
- the value of the
laneMaskrecord component
-