public enum Representation extends Enum<Representation>
Enum Constant and Description |
---|
BIT_16
Represents a 16 bit value.
|
BIT_32
Represents a 32 bit value.
|
BIT_64
Represents a 64 bit value.
|
VARIABLE
Represents a variable value which does not have a size defined.
|
Modifier and Type | Method and Description |
---|---|
static Representation |
find(String representation)
finds a matching representation for the provided input string.
|
int |
getNumberOfBytes() |
static Representation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Representation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Representation BIT_64
public static final Representation BIT_32
public static final Representation BIT_16
public static final Representation VARIABLE
public static Representation[] values()
for (Representation c : Representation.values()) System.out.println(c);
public static Representation 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 int getNumberOfBytes()
public static Representation find(String representation)
representation
- the size representation string.Copyright © 2018 WSO2. All rights reserved.