com.legstar.coxb
Enum CobolUsage.Usage

java.lang.Object
  extended by java.lang.Enum<CobolUsage.Usage>
      extended by com.legstar.coxb.CobolUsage.Usage
All Implemented Interfaces:
Serializable, Comparable<CobolUsage.Usage>
Enclosing class:
CobolUsage

public static enum CobolUsage.Usage
extends Enum<CobolUsage.Usage>

Usable as java enumeration.


Enum Constant Summary
BINARY
          COMP.
DISPLAY
          DISPLAY.
DISPLAY1
          DBCS.
DOUBLEFLOAT
          COMP-2.
FUNCTIONPOINTER
          Function pointer.
INDEX
          INDEX.
NATIONAL
          UTF-16.
NATIVEBINARY
          COMP-5.
PACKEDDECIMAL
          COMP-3.
POINTER
          Pointer.
PROCEDUREPOINTER
          Procedure pointer.
SINGLEFLOAT
          COMP-1.
 
Method Summary
static CobolUsage.Usage valueOf(String name)
          Returns the enum constant of this type with the specified name.
static CobolUsage.Usage[] 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

BINARY

public static final CobolUsage.Usage BINARY
COMP.


SINGLEFLOAT

public static final CobolUsage.Usage SINGLEFLOAT
COMP-1.


DOUBLEFLOAT

public static final CobolUsage.Usage DOUBLEFLOAT
COMP-2.


PACKEDDECIMAL

public static final CobolUsage.Usage PACKEDDECIMAL
COMP-3.


NATIVEBINARY

public static final CobolUsage.Usage NATIVEBINARY
COMP-5.


DISPLAY

public static final CobolUsage.Usage DISPLAY
DISPLAY.


DISPLAY1

public static final CobolUsage.Usage DISPLAY1
DBCS.


INDEX

public static final CobolUsage.Usage INDEX
INDEX.


NATIONAL

public static final CobolUsage.Usage NATIONAL
UTF-16.


POINTER

public static final CobolUsage.Usage POINTER
Pointer.


PROCEDUREPOINTER

public static final CobolUsage.Usage PROCEDUREPOINTER
Procedure pointer.


FUNCTIONPOINTER

public static final CobolUsage.Usage FUNCTIONPOINTER
Function pointer.

Method Detail

values

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

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

valueOf

public static CobolUsage.Usage 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


Copyright © 2015 LegSem. All Rights Reserved.