public enum OptimisedBytesStoreHash extends Enum<OptimisedBytesStoreHash> implements BytesStoreHash<Bytes>
| 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(Bytes store) |
long |
applyAsLong(Bytes store,
int remaining) |
static long |
applyAsLong32bytesMultiple(Bytes store,
int remaining) |
static long |
applyAsLongAny(Bytes store,
int 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.
|
public static final OptimisedBytesStoreHash INSTANCE
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
Bytes store,
int remaining)
public static long applyAsLongAny(@NotNull
Bytes store,
int remaining)
public long applyAsLong(@NotNull
Bytes store)
applyAsLong in interface java.util.function.ToLongFunction<Bytes>public long applyAsLong(@NotNull
Bytes store,
int remaining)
Copyright © 2016. All rights reserved.