| Modifier and Type | Class | Description |
|---|---|---|
class |
ImmutableCell<V> |
Immutable implementations of the
Grid.Cell data structure. |
| Modifier and Type | Method | Description |
|---|---|---|
Grid.Cell<V> |
DenseGrid.cell(int row,
int column) |
|
Grid.Cell<V> |
Grid.cell(int row,
int column) |
Gets the cell at the specified row-column.
|
Grid.Cell<V> |
SparseGrid.cell(int row,
int column) |
| Modifier and Type | Method | Description |
|---|---|---|
java.util.Set<Grid.Cell<V>> |
DenseGrid.cells() |
|
java.util.Set<Grid.Cell<V>> |
Grid.cells() |
Gets the complete set of cells.
|
java.util.SortedSet<Grid.Cell<V>> |
SparseGrid.cells() |
| Modifier and Type | Method | Description |
|---|---|---|
static <R> ImmutableCell<R> |
ImmutableCell.copyOf(Grid.Cell<? extends R> cell) |
Obtains an instance of
Cell. |
static <R> ImmutableGrid<R> |
ImmutableGrid.copyOf(int rowCount,
int columnCount,
Grid.Cell<R> cell) |
Obtains an immutable grid with one cell.
|
| Modifier and Type | Method | Description |
|---|---|---|
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.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.
|
Copyright © 2014–2017 Joda.org. All rights reserved.