Record Class Delaunay.EdgeKey
java.lang.Object
java.lang.Record
com.j3d.engine.scene.nodes.util.tri.Delaunay.EdgeKey
- Enclosing class:
Delaunay
-
Field Summary
Fields -
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.final StringtoString()Returns a string representation of this record class.intu()Returns the value of theurecord component.intv()Returns the value of thevrecord component.
-
Field Details
-
u
private final int uThe field for theurecord component. -
v
private final int vThe field for thevrecord component.
-
-
Constructor Details
-
EdgeKey
EdgeKey(int u, int v) Creates an instance of aEdgeKeyrecord class.- Parameters:
u- the value for theurecord componentv- the value for thevrecord 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. -
u
public int u()Returns the value of theurecord component.- Returns:
- the value of the
urecord component
-
v
public int v()Returns the value of thevrecord component.- Returns:
- the value of the
vrecord component
-