|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.abstracthorizon.danube.http.util.Ranges.Range
public static class Ranges.Range
Single range definition
Constructor Summary | |
---|---|
Ranges.Range(long from,
long to)
Constructor |
Method Summary | |
---|---|
long |
getFrom()
Returns from pointer |
long |
getSize()
Returns size of the range |
long |
getTo()
Returns to pointer |
boolean |
isPrefix()
Is this range a prefix range |
boolean |
isSuffix()
Is this range a suffix range |
String |
toString()
Returns string representation of this range |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Ranges.Range(long from, long to)
from
- fromto
- toMethod Detail |
---|
public long getFrom()
public long getTo()
public long getSize()
public boolean isSuffix()
public boolean isPrefix()
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |