static <R> ImmutableGrid<R> |
ImmutableGrid.copyOf(int rowCount,
int columnCount,
java.lang.Iterable<? extends Grid.Cell<R>> cells) |
Obtains an immutable grid by copying a set of cells.
|
static <R> ImmutableGrid<R> |
ImmutableGrid.copyOf(int rowCount,
int columnCount,
Grid.Cell<R> cell) |
Obtains an immutable grid with one cell.
|
static <R> ImmutableGrid<R> |
ImmutableGrid.copyOf(Grid<R> grid) |
Obtains an immutable grid by copying another grid.
|
static <R> ImmutableGrid<R> |
ImmutableGrid.copyOfDeriveCounts(java.lang.Iterable<? extends Grid.Cell<R>> cells) |
Obtains an immutable grid by copying a set of cells, deriving the row and column count.
|
static <R> ImmutableGrid<R> |
ImmutableGrid.of() |
Obtains an empty immutable grid with zero row-column count.
|
static <R> ImmutableGrid<R> |
ImmutableGrid.of(int rowCount,
int columnCount) |
Obtains an empty immutable grid of the specified row-column count.
|
static <R> ImmutableGrid<R> |
ImmutableGrid.of(int rowCount,
int columnCount,
int row,
int column,
R value) |
Obtains an immutable grid of the specified row-column count with a single cell.
|
static <R> ImmutableGrid<R> |
ImmutableGrid.of(R value) |
Obtains an immutable grid with row-column count 1x1 and a single cell.
|