public static final class ByteRange.Suffix extends ByteRange implements scala.Product, java.io.Serializable
length bytes of an entity. If the entity is shorter than the given length, then the
range spans the entire entity.ByteRange.FromOffset, ByteRange.FromOffset$, ByteRange.Slice, ByteRange.Slice$, ByteRange.Suffix, ByteRange.Suffix$| Constructor and Description |
|---|
Suffix(long length) |
| Modifier and Type | Method and Description |
|---|---|
java.util.OptionalLong |
getSuffixLength()
Java API
|
boolean |
isSuffix()
Java API
|
long |
length() |
<R extends Rendering> |
render(R r) |
apply, fromOffset, getOffset, getSliceFirst, getSliceLast, isFromOffset, isSlice, suffixcreateFromOffset, createSlice, createSuffixclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait$init$, productArity, productElement, productElementName, productElementNames, productIterator, productPrefixvaluetoStringpublic long length()
public <R extends Rendering> Rendering render(R r)
render in interface Renderablepublic java.util.OptionalLong getSuffixLength()
getSuffixLength in class ByteRange