public static enum RamUsageEstimator.JvmFeature extends Enum<RamUsageEstimator.JvmFeature>
Enum Constant and Description |
---|
ARRAY_HEADER_SIZE |
FIELD_OFFSETS |
OBJECT_ALIGNMENT |
OBJECT_REFERENCE_SIZE |
Modifier and Type | Field and Description |
---|---|
String |
description |
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static RamUsageEstimator.JvmFeature |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RamUsageEstimator.JvmFeature[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RamUsageEstimator.JvmFeature OBJECT_REFERENCE_SIZE
public static final RamUsageEstimator.JvmFeature ARRAY_HEADER_SIZE
public static final RamUsageEstimator.JvmFeature FIELD_OFFSETS
public static final RamUsageEstimator.JvmFeature OBJECT_ALIGNMENT
public final String description
public static RamUsageEstimator.JvmFeature[] values()
for (RamUsageEstimator.JvmFeature c : RamUsageEstimator.JvmFeature.values()) System.out.println(c);
public static RamUsageEstimator.JvmFeature 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 String toString()
toString
in class Enum<RamUsageEstimator.JvmFeature>
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.