public enum JavaDataModel extends Enum<JavaDataModel>
Modifier and Type | Field and Description |
---|---|
static int |
JAVA32_ARRAY |
static int |
JAVA32_ARRAY_META |
static int |
JAVA32_META |
static int |
JAVA32_OBJECT |
static int |
JAVA32_REF |
static int |
JAVA64_ARRAY |
static int |
JAVA64_ARRAY_META |
static int |
JAVA64_META |
static int |
JAVA64_OBJECT |
static int |
JAVA64_REF |
static int |
PRIMITIVE_BYTE |
static int |
PRIMITIVES1 |
static int |
PRIMITIVES2 |
Modifier and Type | Method and Description |
---|---|
static int |
alignUp(int value,
int align) |
abstract int |
array() |
abstract int |
arrayList() |
static JavaDataModel |
get() |
abstract int |
hashMap(int entry) |
abstract int |
hashMapBase() |
abstract int |
hashMapEntry() |
abstract int |
hashSet(int entry) |
abstract int |
hashSetBase() |
abstract int |
hashSetEntry() |
int |
lengthFor(String string) |
int |
lengthForBooleanArrayOfSize(int length) |
int |
lengthForByteArrayOfSize(int length) |
int |
lengthForDateArrayOfSize(int length) |
int |
lengthForDecimalArrayOfSize(int length) |
int |
lengthForDoubleArrayOfSize(int length) |
int |
lengthForIntArrayOfSize(int length) |
int |
lengthForLongArrayOfSize(int length) |
int |
lengthForObjectArrayOfSize(int length) |
int |
lengthForRandom() |
int |
lengthForStringOfLength(int strLen) |
int |
lengthForTimestampArrayOfSize(int length) |
int |
lengthOfDate() |
int |
lengthOfDecimal() |
int |
lengthOfTimestamp() |
abstract int |
linkedHashMap(int entry) |
abstract int |
linkedList(int entry) |
abstract int |
linkedListBase() |
abstract int |
linkedListEntry() |
abstract int |
memoryAlign() |
abstract int |
object() |
int |
primitive1() |
int |
primitive2() |
abstract int |
ref() |
static int |
round(int size) |
static JavaDataModel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JavaDataModel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JavaDataModel JAVA32
public static final JavaDataModel JAVA64
public static final int JAVA32_META
public static final int JAVA32_ARRAY_META
public static final int JAVA32_REF
public static final int JAVA32_OBJECT
public static final int JAVA32_ARRAY
public static final int JAVA64_META
public static final int JAVA64_ARRAY_META
public static final int JAVA64_REF
public static final int JAVA64_OBJECT
public static final int JAVA64_ARRAY
public static final int PRIMITIVES1
public static final int PRIMITIVES2
public static final int PRIMITIVE_BYTE
public static JavaDataModel[] values()
for (JavaDataModel c : JavaDataModel.values()) System.out.println(c);
public static JavaDataModel 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 abstract int object()
public abstract int array()
public abstract int ref()
public abstract int hashMap(int entry)
public abstract int hashMapBase()
public abstract int hashMapEntry()
public abstract int hashSetBase()
public abstract int hashSetEntry()
public abstract int hashSet(int entry)
public abstract int linkedHashMap(int entry)
public abstract int linkedListBase()
public abstract int linkedListEntry()
public abstract int linkedList(int entry)
public abstract int arrayList()
public abstract int memoryAlign()
public int lengthFor(String string)
public int lengthForRandom()
public int primitive1()
public int primitive2()
public static int alignUp(int value, int align)
public static JavaDataModel get()
public static int round(int size)
public int lengthForByteArrayOfSize(int length)
public int lengthForObjectArrayOfSize(int length)
public int lengthForLongArrayOfSize(int length)
public int lengthForDoubleArrayOfSize(int length)
public int lengthForIntArrayOfSize(int length)
public int lengthForBooleanArrayOfSize(int length)
public int lengthForTimestampArrayOfSize(int length)
public int lengthForDateArrayOfSize(int length)
public int lengthForDecimalArrayOfSize(int length)
public int lengthOfDecimal()
public int lengthOfTimestamp()
public int lengthOfDate()
public int lengthForStringOfLength(int strLen)
Copyright © 2016 The Apache Software Foundation. All rights reserved.