public enum ByteBuffers extends Enum<ByteBuffers>
| Modifier and Type | Method and Description |
|---|---|
static void |
setAddressCapacity(ByteBuffer buffer,
long address,
long capacity) |
static ByteBuffers |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ByteBuffers[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static ByteBuffers[] values()
for (ByteBuffers c : ByteBuffers.values()) System.out.println(c);
public static ByteBuffers 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 void setAddressCapacity(ByteBuffer buffer, long address, long capacity)
Copyright © 2018. All rights reserved.