org.apache.solr.common.cloud
Class HashPartitioner.Range

java.lang.Object
  extended by 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


Field Summary
 int max
           
 int min
           
 
Constructor Summary
HashPartitioner.Range(int min, int max)
           
 
Method Summary
 boolean equals(Object obj)
           
 int hashCode()
           
 boolean includes(int hash)
           
 String toString()
           
 void write(org.noggit.JSONWriter writer)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

min

public int min

max

public int max
Constructor Detail

HashPartitioner.Range

public HashPartitioner.Range(int min,
                             int max)
Method Detail

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.