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