Constructor and Description |
---|
Range(long start,
long end) |
Modifier and Type | Method and Description |
---|---|
static Range |
byLength(long offset,
long length) |
static Range |
byPosition(long start,
long end) |
int |
compareTo(Range o) |
boolean |
equals(java.lang.Object obj) |
long |
getEnd() |
long |
getLength() |
long |
getStart() |
int |
hashCode() |
public static Range byPosition(long start, long end)
public static Range byLength(long offset, long length)
public long getLength()
public long getStart()
public long getEnd()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object