Record Class ScmLaneInitGroups
java.lang.Object
java.lang.Record
org.impulsegraph.compiler.ast.ScmLaneInitGroups
- All Implemented Interfaces:
ImpScmNode
public record ScmLaneInitGroups(List<List<Long>> groups, int maxNodes)
extends Record
implements ImpScmNode
Multi-lane frontier initialization from up to 64 seed node groups (opcode
0xC1 OP_LANE_INIT_GROUPS).-
Constructor Summary
ConstructorsConstructorDescriptionScmLaneInitGroups(List<List<Long>> groups, int maxNodes) Creates an instance of aScmLaneInitGroupsrecord class. -
Method Summary
Modifier and TypeMethodDescription<R> Raccept(ImpScmVisitor<R> visitor) final booleanIndicates whether some other object is "equal to" this one.static ScmLaneInitGroupsfromInlinePairs(List<Long> nodeGroupPairs, int numGroups) groups()Returns the value of thegroupsrecord component.final inthashCode()Returns a hash code value for this object.intmaxNodes()Returns the value of themaxNodesrecord component.intstatic ScmLaneInitGroupsintpairsReg()final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ScmLaneInitGroups
-
-
Method Details
-
of
-
fromInlinePairs
-
nodeGroupPairs
-
pairsReg
public int pairsReg() -
numGroups
public int numGroups() -
toScmString
- Specified by:
toScmStringin interfaceImpScmNode
-
accept
- Specified by:
acceptin interfaceImpScmNode
-
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. -
groups
-
maxNodes
public int maxNodes()Returns the value of themaxNodesrecord component.- Returns:
- the value of the
maxNodesrecord component
-