Class GeneralGridCoordinates.Immutable

    • Constructor Detail

      • Immutable

        public Immutable​(int[] coordinates)
        Creates an immutable grid coordinates with the specified values.
        Parameters:
        coordinates - The grid coordinates to copy.
      • Immutable

        public Immutable​(int[] coordinates,
                         int lower,
                         int upper)
        Creates an immutable grid coordinates with the specified values in the specified range.
        Parameters:
        coordinates - The coordinates to copy.
        lower - Index of the first value to copy, inclusive.
        upper - Index of the last value to copy, exclusive.
      • Immutable

        public Immutable​(GridCoordinates coordinates)
        Creates an immutable grid coordinates with the specified values.
        Parameters:
        coordinates - The grid coordinates to copy.