Record Class NodeIdManagerRegistry.LayoutKey
java.lang.Object
java.lang.Record
net.bmahe.genetics4j.neat.NodeIdManagerRegistry.LayoutKey
- Enclosing class:
NodeIdManagerRegistry
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final longThe field for thehiddenEndrecord component.private final longThe field for thehiddenStartrecord component.The field for theinputNodeIdsrecord component.The field for theoutputNodeIdsrecord component. -
Constructor Summary
Constructors -
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.longReturns the value of thehiddenEndrecord component.longReturns the value of thehiddenStartrecord component.Returns the value of theinputNodeIdsrecord component.Returns the value of theoutputNodeIdsrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
inputNodeIds
-
outputNodeIds
-
-
Constructor Details
-
LayoutKey
-
LayoutKey
private LayoutKey(List<Integer> inputNodeIds, List<Integer> outputNodeIds, long hiddenStart, long hiddenEnd) Creates an instance of aLayoutKeyrecord class.- Parameters:
inputNodeIds- the value for theinputNodeIdsrecord componentoutputNodeIds- the value for theoutputNodeIdsrecord componenthiddenStart- the value for thehiddenStartrecord componenthiddenEnd- the value for thehiddenEndrecord 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
inputNodeIds
-
outputNodeIds
-