public interface TwoDimensionalFloatReadAccess extends TwoDimensionalReadAccess<java.lang.Float>
| Modifier and Type | Interface and Description |
|---|---|
static class |
TwoDimensionalFloatReadAccess.Base
Base class implementing this interface which provides useful
default methods for
Object.toString(), Object.equals(Object),
and Object.hashCode(). |
| Modifier and Type | Field and Description |
|---|---|
static TwoDimensionalFloatReadAccess |
EMPTY
Empty 2dimensional float read access.
|
| Modifier and Type | Method and Description |
|---|---|
default TwoDimensionalFloatReadAccess.Base |
asBase()
Get a view of this 2-dimensional access which provides useful defaults for standard object methods.
|
default java.lang.Float |
getElementAt(int ix,
int iy)
Get the element at the given indexes.
|
float |
getValueAt(int ix,
int iy)
Get the value at the given indexes.
|
static TwoDimensionalFloatReadAccess |
singleton(float singleElement)
Get a 2dimensional float read access for a single element.
|
default OneDimensionalFloatReadAccess |
subAtX(int ix)
Get a 1-dimensional view of the row at the given X index.
|
default OneDimensionalFloatReadAccess |
subAtY(int iy)
Get a 1-dimensional view of the column at the given X index.
|
default TwoDimensionalFloatReadAccess |
transposed()
Get a transposed view of this 2-dimensional read access.
|
empty, equal, getElement, getNumDimensions, getNumElements, getSize, getSizes, hash, sizeX, sizeY, toString, view, visitAll, visitAll, xIterable, xIterator, yIterable, yIteratorempty, linearizedstatic final TwoDimensionalFloatReadAccess EMPTY
float getValueAt(int ix,
int iy)
ix - X indexiy - Y index@NotNull default java.lang.Float getElementAt(int ix, int iy)
TwoDimensionalReadAccessgetElementAt in interface TwoDimensionalReadAccess<java.lang.Float>ix - index in X direction from 0 (included) to TwoDimensionalReadAccess.sizeX() (excluded)iy - index in Y direction from 0 (included) to TwoDimensionalReadAccess.sizeY() (excluded)@NotNull default OneDimensionalFloatReadAccess subAtX(int ix)
TwoDimensionalReadAccesssubAtX in interface TwoDimensionalReadAccess<java.lang.Float>ix - X indexix@NotNull default OneDimensionalFloatReadAccess subAtY(int iy)
TwoDimensionalReadAccesssubAtY in interface TwoDimensionalReadAccess<java.lang.Float>iy - Y indexiy@NotNull default TwoDimensionalFloatReadAccess transposed()
TwoDimensionalReadAccesstransposed in interface TwoDimensionalReadAccess<java.lang.Float>@NotNull default TwoDimensionalFloatReadAccess.Base asBase()
asBase in interface TwoDimensionalReadAccess<java.lang.Float>@NotNull static TwoDimensionalFloatReadAccess singleton(float singleElement)
singleton in interface TwoDimensionalReadAccess<java.lang.Float>singleElement - single element