public static final class ByteRange.Slice extends ByteRange implements scala.Product, java.io.Serializable
ByteRange.FromOffset, ByteRange.FromOffset$, ByteRange.Slice, ByteRange.Slice$, ByteRange.Suffix, ByteRange.Suffix$| Constructor and Description |
|---|
Slice(long first,
long last) |
| Modifier and Type | Method and Description |
|---|---|
long |
first() |
java.util.OptionalLong |
getSliceFirst()
Java API
|
java.util.OptionalLong |
getSliceLast()
Java API
|
boolean |
isSlice()
Java API
|
long |
last() |
<R extends Rendering> |
render(R r) |
apply, fromOffset, getOffset, getSuffixLength, isFromOffset, isSuffix, suffixcreateFromOffset, createSlice, createSuffixclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait$init$, productArity, productElement, productElementName, productElementNames, productIterator, productPrefixvaluetoStringpublic long first()
public long last()
public <R extends Rendering> Rendering render(R r)
render in interface Renderablepublic java.util.OptionalLong getSliceFirst()
getSliceFirst in class ByteRangepublic java.util.OptionalLong getSliceLast()
getSliceLast in class ByteRange