gnu.trove.map.hash.ArrayHashingStrategy Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of core Show documentation
Show all versions of core Show documentation
High performance collections for Java
The newest version!
package gnu.trove.map.hash;
import gnu.trove.strategy.HashingStrategy;
import java.io.Serializable;
import java.util.Arrays;
/**
*
*/
public class ArrayHashingStrategy
implements HashingStrategy, Serializable {
public int computeHashCode( char[] o ) {
return Arrays.hashCode( o );
}
public boolean equals( char[] o1, char[] o2 ) {
return Arrays.equals( o1, o2 );
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy