protocol.core
Enum UtilsByte.Modificator

java.lang.Object
  extended by java.lang.Enum<UtilsByte.Modificator>
      extended by protocol.core.UtilsByte.Modificator
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<UtilsByte.Modificator>
Enclosing class:
UtilsByte

public static enum UtilsByte.Modificator
extends java.lang.Enum<UtilsByte.Modificator>


Enum Constant Summary
BYTE
          One byte
INT
          Four bytes
LONG
          Eight bytes
SHORT
          Two bytes
 
Field Summary
 int size
           
 
Method Summary
static UtilsByte.Modificator valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static UtilsByte.Modificator[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

BYTE

public static final UtilsByte.Modificator BYTE
One byte


SHORT

public static final UtilsByte.Modificator SHORT
Two bytes


INT

public static final UtilsByte.Modificator INT
Four bytes


LONG

public static final UtilsByte.Modificator LONG
Eight bytes

Field Detail

size

public int size
Method Detail

values

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

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

valueOf

public static UtilsByte.Modificator 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 name
java.lang.NullPointerException - if the argument is null