java.lang.Object
gov.nih.mipav.view.renderer.J3D.surfaceview.brainflattenerview.MjEdgeKey

public class MjEdgeKey extends Object
DOCUMENT ME!
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    final int[]
    DOCUMENT ME!
  • Constructor Summary

    Constructors
    Constructor
    Description
    Creates a new MjEdgeKey object.
    MjEdgeKey(int iV0, int iV1)
    Creates a new MjEdgeKey object.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    equals(Object kObject)
    Support for hashing into a map of edges.
    int
    Support for hashing into a map of edges.

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • V

      public final int[] V
      DOCUMENT ME!
  • Constructor Details

    • MjEdgeKey

      public MjEdgeKey()
      Creates a new MjEdgeKey object.
    • MjEdgeKey

      public MjEdgeKey(int iV0, int iV1)
      Creates a new MjEdgeKey object.
      Parameters:
      iV0 - DOCUMENT ME!
      iV1 - DOCUMENT ME!
  • Method Details

    • equals

      public boolean equals(Object kObject)
      Support for hashing into a map of edges.
      Overrides:
      equals in class 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 invalid input: '&'invalid input: '&' V1 == other.V1) || (V0 == other.V1 invalid input: '&'invalid input: '&' V1 == other.V0).
    • hashCode

      public int hashCode()
      Support for hashing into a map of edges.
      Overrides:
      hashCode in class Object
      Returns:
      the hash key for the edge