public enum OptimisedBytesStoreHash extends Enum<OptimisedBytesStoreHash> implements BytesStoreHash<BytesStore>
Enum Constant and Description |
---|
INSTANCE |
Modifier and Type | Field and Description |
---|---|
static boolean |
IS_LITTLE_ENDIAN |
static net.openhft.chronicle.core.Memory |
MEMORY |
Modifier and Type | Method and Description |
---|---|
long |
applyAsLong(BytesStore store) |
long |
applyAsLong(BytesStore store,
long remaining) |
static long |
applyAsLong32bytesMultiple(BytesStore store,
int remaining) |
static long |
applyAsLongAny(BytesStore store,
long remaining) |
static long |
hash(long l) |
static OptimisedBytesStoreHash |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OptimisedBytesStoreHash[] |
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, valueOf
hash, hash, hash32, hash32
public static final OptimisedBytesStoreHash INSTANCE
@Nullable public static final net.openhft.chronicle.core.Memory MEMORY
public static final boolean IS_LITTLE_ENDIAN
public static OptimisedBytesStoreHash[] values()
for (OptimisedBytesStoreHash c : OptimisedBytesStoreHash.values()) System.out.println(c);
public static OptimisedBytesStoreHash 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 static long hash(long l)
public static long applyAsLong32bytesMultiple(@NotNull BytesStore store, int remaining)
public static long applyAsLongAny(@NotNull BytesStore store, long remaining)
public long applyAsLong(@NotNull BytesStore store)
applyAsLong
in interface ToLongFunction<BytesStore>
public long applyAsLong(@NotNull BytesStore store, long remaining)
applyAsLong
in interface BytesStoreHash<BytesStore>
Copyright © 2018. All rights reserved.