Record Class IntegralDecimateMT.NodeResult
java.lang.Object
java.lang.Record
com.gaia3d.process.tileprocess.multithread.IntegralDecimateMT.NodeResult
- Enclosing class:
IntegralDecimateMT
public static record IntegralDecimateMT.NodeResult(int order, Node node, HalfEdgeScene halfEdgeScene)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionNodeResult(int order, Node node, HalfEdgeScene halfEdgeScene) Creates an instance of aNodeResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.Returns the value of thehalfEdgeScenerecord component.final inthashCode()Returns a hash code value for this object.node()Returns the value of thenoderecord component.intorder()Returns the value of theorderrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
NodeResult
Creates an instance of aNodeResultrecord class.- Parameters:
order- the value for theorderrecord componentnode- the value for thenoderecord componenthalfEdgeScene- the value for thehalfEdgeScenerecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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 '=='. -
order
public int order()Returns the value of theorderrecord component.- Returns:
- the value of the
orderrecord component
-
node
Returns the value of thenoderecord component.- Returns:
- the value of the
noderecord component
-
halfEdgeScene
Returns the value of thehalfEdgeScenerecord component.- Returns:
- the value of the
halfEdgeScenerecord component
-