org.apache.solr.common.cloud
Class HashPartitioner.Range
java.lang.Object
org.apache.solr.common.cloud.HashPartitioner.Range
- All Implemented Interfaces:
- org.noggit.JSONWriter.Writable
- Enclosing class:
- HashPartitioner
public static class HashPartitioner.Range
- extends Object
- implements org.noggit.JSONWriter.Writable
min
public int min
max
public int max
HashPartitioner.Range
public HashPartitioner.Range(int min,
int max)
includes
public boolean includes(int hash)
toString
public String toString()
- Overrides:
toString
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
write
public void write(org.noggit.JSONWriter writer)
- Specified by:
write
in interface org.noggit.JSONWriter.Writable
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.