com.bigdata.btree.keys
Enum DecompositionEnum

java.lang.Object
  extended by java.lang.Enum<DecompositionEnum>
      extended by com.bigdata.btree.keys.DecompositionEnum
All Implemented Interfaces:
Serializable, Comparable<DecompositionEnum>

public enum DecompositionEnum
extends Enum<DecompositionEnum>

Type safe enumeration for the decomposition mode.

Note: ICU and the JDK use different integer constants for the decomposition modes!

Version:
$Id: DecompositionEnum.java 2265 2009-10-26 12:51:06Z thompsonbry $
Author:
Bryan Thompson

Enum Constant Summary
Canonical
          See Collator.CANONICAL_DECOMPOSITION.
Full
          See Collator.FULL_DECOMPOSITION.
None
          See Collator.NO_DECOMPOSITION.
 
Method Summary
static DecompositionEnum valueOf(String name)
          Returns the enum constant of this type with the specified name.
static DecompositionEnum[] 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

None

public static final DecompositionEnum None
See Collator.NO_DECOMPOSITION.


Full

public static final DecompositionEnum Full
See Collator.FULL_DECOMPOSITION.


Canonical

public static final DecompositionEnum Canonical
See Collator.CANONICAL_DECOMPOSITION.

Method Detail

values

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

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

valueOf

public static DecompositionEnum 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 © 2006-2012 SYSTAP, LLC. All Rights Reserved.