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, toString
protected java.util.List<Slice> slices
protected long count
public MultiSlice(java.util.List<Slice> slices) throws DapException
DapException
public boolean equals(java.lang.Object o)
public Slice finish() throws DapException
Slice
finish
in class Slice
DapException
- if slice is malformedpublic java.util.List<Slice> getSlices()
public long getCount()
Slice
public void setMaxSize(long size) throws DapException
setMaxSize
in class Slice
DapException
public boolean isContiguous()
isContiguous
in class Slice
public java.util.List<Slice> getContiguous()
getContiguous
in class Slice