org.terracotta.offheapstore.storage
Enum PointerSize
java.lang.Object
java.lang.Enum<PointerSize>
org.terracotta.offheapstore.storage.PointerSize
- All Implemented Interfaces:
- Serializable, Comparable<PointerSize>
public enum PointerSize
- extends Enum<PointerSize>
INT
public static final PointerSize INT
LONG
public static final PointerSize LONG
values
public static PointerSize[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (PointerSize c : PointerSize.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static PointerSize valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
bitSize
public int bitSize()
byteSize
public int byteSize()
Copyright © 2016. All Rights Reserved.