public class MultiSlice extends Slice
Slice.Sort| Modifier and Type | Field and Description |
|---|---|
protected long |
count |
protected java.util.List<Slice> |
slices |
constrained, MAXLENGTH, sort, UNDEFINED| Constructor and Description |
|---|
MultiSlice(java.util.List<Slice> slices) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o)
Compare two slices for equality
|
Slice |
finish()
Perform sanity checks on a slice and repair where possible.
|
java.util.List<Slice> |
getContiguous() |
long |
getCount()
Compute the number of elements int
the slice.
|
java.util.List<Slice> |
getSlices() |
int |
hashCode() |
boolean |
isContiguous() |
void |
setMaxSize(long size) |
java.lang.String |
toString() |
compose, getFirst, getLast, getMaxSize, getSort, getStop, getStride, isConstrained, isWhole, iterator, setConstrained, setIndices, setIndices, setWhole, toConstraintString, toStringprotected java.util.List<Slice> slices
protected long count
public MultiSlice(java.util.List<Slice> slices) throws DapException
DapExceptionpublic boolean equals(java.lang.Object o)
public Slice finish() throws DapException
Slicefinish in class SliceDapException - if slice is malformedpublic java.util.List<Slice> getSlices()
public long getCount()
Slicepublic void setMaxSize(long size)
throws DapException
setMaxSize in class SliceDapExceptionpublic boolean isContiguous()
isContiguous in class Slicepublic java.util.List<Slice> getContiguous()
getContiguous in class Slice