public class MultiSlice extends Slice
Slice.Sort| Modifier and Type | Field and Description |
|---|---|
protected int |
count |
protected java.util.List<Slice> |
subslices |
constrained, MAXLENGTH, SCALARSLICE, SCALARSLICES, sort, UNDEFINED| Constructor and Description |
|---|
MultiSlice(java.util.List<Slice> subslices) |
| 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.
|
int |
getCount()
Compute the number of elements in
the slice.
|
Slice |
getSubSlice(int i) |
java.util.List<Slice> |
getSubSlices() |
int |
hashCode() |
Slice |
setMaxSize(int size) |
java.lang.String |
toConstraintString()
Convert this multislice to a string
suitable for use in a constraint
|
java.lang.String |
toString() |
compose, getFirst, getLast, getMax, getSize, getSort, getStop, getStride, isConstrained, isScalar, isWhole, iterator, setConstrained, setIndices, setIndices, setWhole, toStringprotected java.util.List<Slice> subslices
protected int count
public MultiSlice(java.util.List<Slice> subslices) throws DapException
DapExceptionpublic boolean equals(java.lang.Object o)
public java.lang.String toConstraintString()
throws DapException
toConstraintString in class SliceDapExceptionpublic Slice finish() throws DapException
Slicefinish in class SliceDapException - if slice is malformedpublic java.util.List<Slice> getSubSlices()
getSubSlices in class Slicepublic Slice getSubSlice(int i)
getSubSlice in class Slicepublic int getCount()
Slicepublic Slice setMaxSize(int size) throws DapException
setMaxSize in class SliceDapException