org.diyefi.openlogviewer.decoder
Enum LogField.types

java.lang.Object
  extended by java.lang.Enum<LogField.types>
      extended by org.diyefi.openlogviewer.decoder.LogField.types
All Implemented Interfaces:
Serializable, Comparable<LogField.types>
Enclosing class:
LogField

public static enum LogField.types
extends Enum<LogField.types>


Enum Constant Summary
BITS16
           
BITS32
           
BITS8
           
SINT16
           
SINT32
           
SINT8
           
UINT16
           
UINT32
           
UINT8
           
 
Method Summary
 int getWidth()
           
static LogField.types valueOf(String name)
          Returns the enum constant of this type with the specified name.
static LogField.types[] 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

UINT8

public static final LogField.types UINT8

UINT16

public static final LogField.types UINT16

UINT32

public static final LogField.types UINT32

BITS8

public static final LogField.types BITS8

BITS16

public static final LogField.types BITS16

BITS32

public static final LogField.types BITS32

SINT8

public static final LogField.types SINT8

SINT16

public static final LogField.types SINT16

SINT32

public static final LogField.types SINT32
Method Detail

values

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

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

valueOf

public static LogField.types 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

getWidth

public final int getWidth()


Copyright © 2011 DIYEFI.org. All Rights Reserved.