com.amazon.carbonado.qe
Enum BoundaryType

java.lang.Object
  extended by java.lang.Enum<BoundaryType>
      extended by com.amazon.carbonado.qe.BoundaryType
All Implemented Interfaces:
Serializable, Comparable<BoundaryType>

public enum BoundaryType
extends Enum<BoundaryType>

Describes a value range boundary.

Author:
Brian S O'Neill

Enum Constant Summary
EXCLUSIVE
          Range boundary is exclusive
INCLUSIVE
          Range boundary is inclusive
OPEN
          Range boundary is open
 
Method Summary
static BoundaryType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static BoundaryType[] 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

OPEN

public static final BoundaryType OPEN
Range boundary is open


INCLUSIVE

public static final BoundaryType INCLUSIVE
Range boundary is inclusive


EXCLUSIVE

public static final BoundaryType EXCLUSIVE
Range boundary is exclusive

Method Detail

values

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

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

valueOf

public static BoundaryType 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-2009 Amazon Technologies, Inc.. All Rights Reserved.