Class HashUtils
java.lang.Object
hash.exercise.HashUtils
- Author:
- __STUDENT_NAME__, Dennis Cosgrove
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <K> intarrayIndexForKey(K key, int arrayLength, ToIntFunction<K> hashFunction) static <K> inthashCodeOf(K key, ToIntFunction<K> hashFunction) static <K,E> E itemInArrayForKey(K key, E[] array, ToIntFunction<K> hashFunction)
-
Constructor Details
-
HashUtils
public HashUtils()
-
-
Method Details
-
hashCodeOf
-
arrayIndexForKey
-
itemInArrayForKey
-