org.elasticsearch.common.trove
Class StringIdentityHashingStrategy
java.lang.Object
org.elasticsearch.common.trove.StringIdentityHashingStrategy
- All Implemented Interfaces:
- gnu.trove.strategy.HashingStrategy<String>, Serializable
public class StringIdentityHashingStrategy
- extends Object
- implements gnu.trove.strategy.HashingStrategy<String>
A string based hash code with identity equality.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StringIdentityHashingStrategy
public StringIdentityHashingStrategy()
computeHashCode
public int computeHashCode(String object)
- Specified by:
computeHashCode
in interface gnu.trove.strategy.HashingStrategy<String>
equals
public boolean equals(String o1,
String o2)
- Specified by:
equals
in interface gnu.trove.strategy.HashingStrategy<String>
Copyright © 2009-2012. All Rights Reserved.