public static class DocRouter.Range extends Object implements Comparable<DocRouter.Range>
Constructor and Description |
---|
Range(int min,
int max) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(DocRouter.Range that) |
boolean |
equals(Object obj) |
int |
hashCode() |
boolean |
includes(int hash) |
boolean |
isSubsetOf(DocRouter.Range superset) |
boolean |
overlaps(DocRouter.Range other) |
String |
toString() |
void |
write(JSONWriter writer) |
public Range(int min, int max)
public boolean includes(int hash)
public boolean isSubsetOf(DocRouter.Range superset)
public boolean overlaps(DocRouter.Range other)
public void write(JSONWriter writer)
public int compareTo(DocRouter.Range that)
compareTo
in interface Comparable<DocRouter.Range>