Class ImmutableArray1D<T>

    • Constructor Detail

      • ImmutableArray1D

        public ImmutableArray1D​(T[] values)
        Create a new in-memory array.
        Parameters:
        values - An array containing the data.
    • Method Detail

      • get

        public T get​(int... coords)
        Description copied from interface: Array
        Gets a value from the array
      • set

        public void set​(T value,
                        int... coords)
        Description copied from interface: Array
        Sets a value in the array (optional operation)