Package uk.ac.rdg.resc.edal.util
Class SingleValueImmutableArray1D
- java.lang.Object
-
- uk.ac.rdg.resc.edal.util.Array1D<Number>
-
- uk.ac.rdg.resc.edal.util.SingleValueImmutableArray1D
-
- All Implemented Interfaces:
Serializable
,Iterable<Number>
,Array<Number>
public class SingleValueImmutableArray1D extends Array1D<Number>
AnArray1D
which holds just a single value.- Author:
- Guy Griffiths
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SingleValueImmutableArray1D(Number value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Number
get(int... coords)
Gets a value from the arrayvoid
set(Number value, int... coords)
Sets a value in the array (optional operation)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Constructor Detail
-
SingleValueImmutableArray1D
public SingleValueImmutableArray1D(Number value)
-
-