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, suffix
createFromOffset, createSlice, createSuffix
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
$init$, productArity, productElement, productElementName, productElementNames, productIterator, productPrefix
value
toString
public long first()
public long last()
public <R extends Rendering> Rendering render(R r)
render
in interface Renderable
public java.util.OptionalLong getSliceFirst()
getSliceFirst
in class ByteRange
public java.util.OptionalLong getSliceLast()
getSliceLast
in class ByteRange