java.lang.Object
org.noise_planet.noisemodelling.jdbc.utils.CellIndex
All Implemented Interfaces:
Comparable<CellIndex>

public class CellIndex extends Object implements Comparable<CellIndex>
  • Constructor Details

    • CellIndex

      public CellIndex(int longitudeIndex, int latitudeIndex)
  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getLongitudeIndex

      public int getLongitudeIndex()
    • getLatitudeIndex

      public int getLatitudeIndex()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • compareTo

      public int compareTo(CellIndex o)
      Compare latitudeIndex values of two instances of CellIndex
      Specified by:
      compareTo in interface Comparable<CellIndex>
      Parameters:
      o - the object to be compared.
      Returns: