Class EuclideanIntegerPoint

    • Constructor Detail

      • EuclideanIntegerPoint

        public EuclideanIntegerPoint​(int[] point)
        Build an instance wrapping an integer array.

        The wrapped array is referenced, it is not copied.

        Parameters:
        point - the n-dimensional point in integer space
    • Method Detail

      • getPoint

        public int[] getPoint()
        Get the n-dimensional point in integer space.
        Returns:
        a reference (not a copy!) to the wrapped array
      • equals

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
        Since:
        2.1