org.elasticsearch.common.trove
Class TBytesHashingStrategy

java.lang.Object
  extended by org.elasticsearch.common.trove.TBytesHashingStrategy
All Implemented Interfaces:
java.io.Serializable, org.elasticsearch.common.trove.TObjectHashingStrategy<byte[]>

public class TBytesHashingStrategy
extends java.lang.Object
implements org.elasticsearch.common.trove.TObjectHashingStrategy<byte[]>

See Also:
Serialized Form

Constructor Summary
TBytesHashingStrategy()
           
 
Method Summary
 int computeHashCode(byte[] bytes)
           
 boolean equals(byte[] bytes, byte[] bytes1)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TBytesHashingStrategy

public TBytesHashingStrategy()
Method Detail

computeHashCode

public int computeHashCode(byte[] bytes)
Specified by:
computeHashCode in interface org.elasticsearch.common.trove.TObjectHashingStrategy<byte[]>

equals

public boolean equals(byte[] bytes,
                      byte[] bytes1)
Specified by:
equals in interface org.elasticsearch.common.trove.TObjectHashingStrategy<byte[]>