Package com.avpkit.ferry
Enum IBuffer.Type
- java.lang.Object
-
- java.lang.Enum<IBuffer.Type>
-
- com.avpkit.ferry.IBuffer.Type
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<IBuffer.Type>
- Enclosing class:
- IBuffer
public static enum IBuffer.Type extends java.lang.Enum<IBuffer.Type>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description IBUFFER_DBL64IBUFFER_FLT32IBUFFER_NBIBUFFER_SINT16IBUFFER_SINT32IBUFFER_SINT64IBUFFER_SINT8IBUFFER_UINT16IBUFFER_UINT32IBUFFER_UINT64IBUFFER_UINT8
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static IBuffer.TypeswigToEnum(int swigValue)intswigValue()static IBuffer.TypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static IBuffer.Type[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
IBUFFER_UINT8
public static final IBuffer.Type IBUFFER_UINT8
-
IBUFFER_SINT8
public static final IBuffer.Type IBUFFER_SINT8
-
IBUFFER_UINT16
public static final IBuffer.Type IBUFFER_UINT16
-
IBUFFER_SINT16
public static final IBuffer.Type IBUFFER_SINT16
-
IBUFFER_UINT32
public static final IBuffer.Type IBUFFER_UINT32
-
IBUFFER_SINT32
public static final IBuffer.Type IBUFFER_SINT32
-
IBUFFER_UINT64
public static final IBuffer.Type IBUFFER_UINT64
-
IBUFFER_SINT64
public static final IBuffer.Type IBUFFER_SINT64
-
IBUFFER_FLT32
public static final IBuffer.Type IBUFFER_FLT32
-
IBUFFER_DBL64
public static final IBuffer.Type IBUFFER_DBL64
-
IBUFFER_NB
public static final IBuffer.Type IBUFFER_NB
-
-
Method Detail
-
values
public static IBuffer.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 (IBuffer.Type c : IBuffer.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 IBuffer.Type valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
swigValue
public final int swigValue()
-
swigToEnum
public static IBuffer.Type swigToEnum(int swigValue)
-
-