public enum OptimisedBytesHash extends Enum<OptimisedBytesHash> implements BytesStoreHash<VanillaBytes>
| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Field and Description |
|---|---|
static net.openhft.chronicle.core.Memory |
MEMORY |
| Modifier and Type | Method and Description |
|---|---|
long |
applyAsLong(VanillaBytes store) |
static long |
hash(long l) |
static OptimisedBytesHash |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OptimisedBytesHash[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfhash, hashpublic static final OptimisedBytesHash INSTANCE
public static OptimisedBytesHash[] values()
for (OptimisedBytesHash c : OptimisedBytesHash.values()) System.out.println(c);
public static OptimisedBytesHash valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic long applyAsLong(@NotNull
VanillaBytes store)
applyAsLong in interface java.util.function.ToLongFunction<VanillaBytes>public static long hash(long l)
Copyright © 2015. All rights reserved.