Package com.google.common.collect
Class Hashing
- java.lang.Object
-
- com.google.common.collect.Hashing
-
@GwtCompatible final class Hashing extends java.lang.Object
Static methods for implementing hash-based collections.
-
-
Field Summary
Fields Modifier and Type Field Description private static longC1private static longC2private static intMAX_TABLE_SIZE
-
Constructor Summary
Constructors Modifier Constructor Description privateHashing()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description (package private) static intclosedTableSize(int expectedEntries, double loadFactor)(package private) static booleanneedsResizing(int size, int tableSize, double loadFactor)(package private) static intsmear(int hashCode)(package private) static intsmearedHash(java.lang.Object o)
-
-
-
Field Detail
-
C1
private static final long C1
- See Also:
- Constant Field Values
-
C2
private static final long C2
- See Also:
- Constant Field Values
-
MAX_TABLE_SIZE
private static final int MAX_TABLE_SIZE
- See Also:
- Constant Field Values
-
-