Package org.apache.solr.common.cloud
Class DocRouter.Range
- java.lang.Object
- 
- org.apache.solr.common.cloud.DocRouter.Range
 
- 
- All Implemented Interfaces:
- Comparable<DocRouter.Range>,- org.noggit.JSONWriter.Writable
 - Enclosing class:
- DocRouter
 
 public static class DocRouter.Range extends Object implements org.noggit.JSONWriter.Writable, Comparable<DocRouter.Range> 
- 
- 
Constructor SummaryConstructors Constructor Description Range(int min, int max)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(DocRouter.Range that)booleanequals(Object obj)inthashCode()booleanincludes(int hash)booleanisSubsetOf(DocRouter.Range superset)booleanoverlaps(DocRouter.Range other)StringtoString()voidwrite(org.noggit.JSONWriter writer)
 
- 
- 
- 
Method Detail- 
includespublic boolean includes(int hash) 
 - 
isSubsetOfpublic boolean isSubsetOf(DocRouter.Range superset) 
 - 
overlapspublic boolean overlaps(DocRouter.Range other) 
 - 
writepublic void write(org.noggit.JSONWriter writer) - Specified by:
- writein interface- org.noggit.JSONWriter.Writable
 
 - 
compareTopublic int compareTo(DocRouter.Range that) - Specified by:
- compareToin interface- Comparable<DocRouter.Range>
 
 
- 
 
-