public class MultiSlice extends Slice
Slice.Sort| Modifier and Type | Field and Description |
|---|---|
protected long |
count |
protected List<Slice> |
slices |
constrained, MAXLENGTH, sort, UNDEFINED| Constructor and Description |
|---|
MultiSlice(List<Slice> slices) |
| Modifier and Type | Method and Description |
|---|---|
Slice |
finish()
Perform sanity checks on a slice and repair where possible.
|
List<Slice> |
getContiguous() |
long |
getCount()
Compute the number of elements int
the slice.
|
List<Slice> |
getSlices() |
boolean |
isContiguous() |
void |
setMaxSize(long size) |
String |
toString() |
compose, equals, getFirst, getLast, getMaxSize, getSort, getStop, getStride, isConstrained, isWhole, iterator, setConstrained, setIndices, setIndices, setWhole, toConstraintString, toStringpublic MultiSlice(List<Slice> slices) throws DapException
DapExceptionpublic Slice finish() throws DapException
Slicefinish in class SliceDapException - if slice is malformedpublic long getCount()
Slicepublic void setMaxSize(long size)
throws DapException
setMaxSize in class SliceDapExceptionpublic boolean isContiguous()
isContiguous in class Slicepublic List<Slice> getContiguous()
getContiguous in class SliceCopyright © 1999–2014 UCAR/Unidata. All rights reserved.