Package WildMagic.LibFoundation.Meshes
Class EdgeKey
- java.lang.Object
-
- WildMagic.LibFoundation.Meshes.EdgeKey
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<EdgeKey>
public class EdgeKey extends java.lang.Object implements java.lang.Comparable<EdgeKey>, java.io.Serializable
DOCUMENT ME!- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private static longserialVersionUIDint[]VDOCUMENT ME!
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompare(EdgeKey arg0, EdgeKey arg1)intcompareTo(EdgeKey arg0)booleanequals(java.lang.Object kObject)Support for hashing into a map of edges.inthashCode()Support for hashing into a map of edges.booleanLessThan(EdgeKey rkKey)
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
V
public final int[] V
DOCUMENT ME!
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object kObject)
Support for hashing into a map of edges.- Overrides:
equalsin classjava.lang.Object- Parameters:
kObject- an edge for comparison to the current one- Returns:
- true iff the edges are identical. Because the class stores ordered indices, it is not necessary to use the more expensive test (V0 == other.V0 && V1 == other.V1) || (V0 == other.V1 && V1 == other.V0).
-
hashCode
public int hashCode()
Support for hashing into a map of edges.- Overrides:
hashCodein classjava.lang.Object- Returns:
- the hash key for the edge
-
LessThan
public boolean LessThan(EdgeKey rkKey)
-
-