public static class DocRouter.Range extends Object implements org.noggit.JSONWriter.Writable, 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(org.noggit.JSONWriter writer) |
public boolean includes(int hash)
public boolean isSubsetOf(DocRouter.Range superset)
public boolean overlaps(DocRouter.Range other)
public void write(org.noggit.JSONWriter writer)
write in interface org.noggit.JSONWriter.Writablepublic int compareTo(DocRouter.Range that)
compareTo in interface Comparable<DocRouter.Range>Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.