Record Class SteinerSubgraph.SteinerEdge
java.lang.Object
java.lang.Record
org.impulsegraph.api.traversal.SteinerSubgraph.SteinerEdge
- Enclosing class:
SteinerSubgraph
public static record SteinerSubgraph.SteinerEdge(long srcNode, long tgtNode, int relationId, long laneMask)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionSteinerEdge(long srcNode, long tgtNode, int relationId, long laneMask) Creates an instance of aSteinerEdgerecord 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.intReturns the value of therelationIdrecord component.longsrcNode()Returns the value of thesrcNoderecord component.longtgtNode()Returns the value of thetgtNoderecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SteinerEdge
public SteinerEdge(long srcNode, long tgtNode, int relationId, long laneMask) Creates an instance of aSteinerEdgerecord class.- Parameters:
srcNode- the value for thesrcNoderecord componenttgtNode- the value for thetgtNoderecord componentrelationId- the value for therelationIdrecord componentlaneMask- the value for thelaneMaskrecord component
-
-
Method Details
-
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. All components in this record class are compared with thecomparemethod from their corresponding wrapper classes. -
srcNode
public long srcNode()Returns the value of thesrcNoderecord component.- Returns:
- the value of the
srcNoderecord component
-
tgtNode
public long tgtNode()Returns the value of thetgtNoderecord component.- Returns:
- the value of the
tgtNoderecord component
-
relationId
public int relationId()Returns the value of therelationIdrecord component.- Returns:
- the value of the
relationIdrecord component
-
laneMask
public long laneMask()Returns the value of thelaneMaskrecord component.- Returns:
- the value of the
laneMaskrecord component
-