Class Coordinate<T>


  • public final class Coordinate<T>
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private T x  
      private T y  
    • Constructor Summary

      Constructors 
      Constructor Description
      Coordinate​(T x, T y)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object o)  
      int hashCode()  
      java.lang.String toString()  
      T x()  
      T y()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Field Detail

      • x

        @NotNull
        private final T x
      • y

        @NotNull
        private final T y
    • Constructor Detail

      • Coordinate

        public Coordinate​(@NotNull
                          T x,
                          @NotNull
                          T y)
    • Method Detail

      • x

        @NotNull
        public T x()
      • y

        @NotNull
        public T y()
      • equals

        public boolean equals​(java.lang.Object o)
        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