org.apache.qpid.transport
Enum Type

java.lang.Object
  extended by java.lang.Enum<Type>
      extended by org.apache.qpid.transport.Type
All Implemented Interfaces:
Serializable, Comparable<Type>

public enum Type
extends Enum<Type>


Enum Constant Summary
ARRAY
           
BIN1024
           
BIN128
           
BIN16
           
BIN256
           
BIN32
           
BIN40
           
BIN512
           
BIN64
           
BIN72
           
BIN8
           
BIT
           
BOOLEAN
           
CHAR
           
CHAR_UTF32
           
DATETIME
           
DEC32
           
DEC64
           
DOUBLE
           
FLOAT
           
INT16
           
INT32
           
INT64
           
INT8
           
LIST
           
MAP
           
STR16
           
STR16_LATIN
           
STR16_UTF16
           
STR8
           
STR8_LATIN
           
STR8_UTF16
           
STRUCT32
           
UINT16
           
UINT32
           
UINT64
           
UINT8
           
UUID
           
VBIN16
           
VBIN32
           
VBIN8
           
VOID
           
 
Field Summary
 byte code
           
 boolean fixed
           
 int width
           
 
Method Summary
static Type get(byte code)
           
static Type valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Type[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

BIN8

public static final Type BIN8

INT8

public static final Type INT8

UINT8

public static final Type UINT8

CHAR

public static final Type CHAR

BOOLEAN

public static final Type BOOLEAN

BIN16

public static final Type BIN16

INT16

public static final Type INT16

UINT16

public static final Type UINT16

BIN32

public static final Type BIN32

INT32

public static final Type INT32

UINT32

public static final Type UINT32

FLOAT

public static final Type FLOAT

CHAR_UTF32

public static final Type CHAR_UTF32

BIN64

public static final Type BIN64

INT64

public static final Type INT64

UINT64

public static final Type UINT64

DOUBLE

public static final Type DOUBLE

DATETIME

public static final Type DATETIME

BIN128

public static final Type BIN128

UUID

public static final Type UUID

BIN256

public static final Type BIN256

BIN512

public static final Type BIN512

BIN1024

public static final Type BIN1024

VBIN8

public static final Type VBIN8

STR8_LATIN

public static final Type STR8_LATIN

STR8

public static final Type STR8

STR8_UTF16

public static final Type STR8_UTF16

VBIN16

public static final Type VBIN16

STR16_LATIN

public static final Type STR16_LATIN

STR16

public static final Type STR16

STR16_UTF16

public static final Type STR16_UTF16

VBIN32

public static final Type VBIN32

MAP

public static final Type MAP

LIST

public static final Type LIST

ARRAY

public static final Type ARRAY

STRUCT32

public static final Type STRUCT32

BIN40

public static final Type BIN40

DEC32

public static final Type DEC32

BIN72

public static final Type BIN72

DEC64

public static final Type DEC64

VOID

public static final Type VOID

BIT

public static final Type BIT
Field Detail

code

public byte code

width

public int width

fixed

public boolean fixed
Method Detail

values

public static Type[] 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 (Type c : Type.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static Type 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

get

public static Type get(byte code)


Licensed to the Apache Software Foundation