Package uk.ac.rdg.resc.edal.util
Class GridCoordinates2D
- java.lang.Object
-
- uk.ac.rdg.resc.edal.util.GridCoordinates2D
-
- All Implemented Interfaces:
Serializable
public final class GridCoordinates2D extends Object implements Serializable
Class representing a pair of integer co-ordinates. This is used in preference to int[] so that the order does not cause issues- Author:
- Guy Griffiths
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GridCoordinates2D(int x, int y)
Create a newGridCoordinates2D
object
-
-
-
Constructor Detail
-
GridCoordinates2D
public GridCoordinates2D(int x, int y)
Create a newGridCoordinates2D
object- Parameters:
x
- The x-indexy
- The y-index
-
-