public static class CoordinateND.Builder<T>
extends java.lang.Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
void |
addBuilder(CoordinateBuilder<T> builder) |
void |
addRecord(T gr) |
SparseArray<T> |
buildSparseArray(java.util.List<T> records,
java.util.Formatter info) |
CoordinateND<T> |
finish(java.util.List<T> records,
java.util.Formatter info) |
CoordinateND<T> |
reindex(java.util.List<Coordinate> newCoords,
CoordinateND<T> prev)
Reindex the sparse array, based on the new Coordinates.
|
public void addBuilder(CoordinateBuilder<T> builder)
public void addRecord(T gr)
public CoordinateND<T> finish(java.util.List<T> records, java.util.Formatter info)
public SparseArray<T> buildSparseArray(java.util.List<T> records, java.util.Formatter info)
public CoordinateND<T> reindex(java.util.List<Coordinate> newCoords, CoordinateND<T> prev)
prev
- must have same list of Coordinates, with possibly additional values.