Record Class DebugPathInfo.Path.DebugData
java.lang.Object
java.lang.Record
org.geysermc.mcprotocollib.protocol.data.game.debug.DebugPathInfo.Path.DebugData
- Enclosing class:
DebugPathInfo.Path
public static record DebugPathInfo.Path.DebugData(List<DebugPathInfo.Node> targetNodes, DebugPathInfo.Node[] openSet, DebugPathInfo.Node[] closedSet)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionDebugData(List<DebugPathInfo.Node> targetNodes, DebugPathInfo.Node[] openSet, DebugPathInfo.Node[] closedSet) Creates an instance of aDebugDatarecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theclosedSetrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.openSet()Returns the value of theopenSetrecord component.Returns the value of thetargetNodesrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
DebugData
public DebugData(List<DebugPathInfo.Node> targetNodes, DebugPathInfo.Node[] openSet, DebugPathInfo.Node[] closedSet) Creates an instance of aDebugDatarecord class.- Parameters:
targetNodes- the value for thetargetNodesrecord componentopenSet- the value for theopenSetrecord componentclosedSet- the value for theclosedSetrecord 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 withObjects::equals(Object,Object). -
targetNodes
Returns the value of thetargetNodesrecord component.- Returns:
- the value of the
targetNodesrecord component
-
openSet
Returns the value of theopenSetrecord component.- Returns:
- the value of the
openSetrecord component
-
closedSet
Returns the value of theclosedSetrecord component.- Returns:
- the value of the
closedSetrecord component
-