public static class ContentRange.Suffix
extends ContentRange
Represents a Content-Range
bounded by tail size
ContentRange.Bounded, ContentRange.Suffix, ContentRange.TailFrom
Constructor and Description |
---|
Suffix(long lastCount)
Represents a
Content-Range bounded by tail size |
Modifier and Type | Method and Description |
---|---|
long |
component1()
number of tail bytes
|
ContentRange.Suffix |
copy(long lastCount)
Represents a
Content-Range bounded by tail size |
boolean |
equals(java.lang.Object p) |
long |
getLastCount()
number of tail bytes
|
int |
hashCode() |
java.lang.String |
toString() |
public Suffix(long lastCount)
Represents a Content-Range
bounded by tail size
lastCount
- number of tail bytespublic java.lang.String toString()
public long getLastCount()
number of tail bytes
public long component1()
number of tail bytes
public ContentRange.Suffix copy(long lastCount)
Represents a Content-Range
bounded by tail size
public int hashCode()
public boolean equals(java.lang.Object p)