| Modifier and Type | Class | Description |
|---|---|---|
class |
DenseGrid<V> |
Mutable implementation of the
Grid data structure based on an array. |
class |
ImmutableGrid<V> |
Immutable implementation of the
Grid data structure. |
class |
SparseGrid<V> |
Mutable implementation of the
Grid data structure based on hashing. |
| Modifier and Type | Method | Description |
|---|---|---|
static <R> ImmutableGrid<R> |
ImmutableGrid.copyOf(Grid<R> grid) |
Obtains an immutable grid by copying another grid.
|
static <V> DenseGrid<V> |
DenseGrid.create(Grid<? extends V> grid) |
Creates a
DenseGrid copying from another grid. |
static <R> SparseGrid<R> |
SparseGrid.create(Grid<? extends R> grid) |
Creates a
SparseGrid copying from another grid. |
void |
DenseGrid.putAll(Grid<? extends V> grid) |
|
void |
Grid.putAll(Grid<? extends V> grid) |
Puts all cells from a grid into this grid.
|
void |
ImmutableGrid.putAll(Grid<? extends V> grid) |
Deprecated.
Grid is read-only
|
void |
SparseGrid.putAll(Grid<? extends V> grid) |
Copyright © 2014–2017 Joda.org. All rights reserved.