net.obsearch.index.utils
Enum AbstractCommandLine.Mode

java.lang.Object
  extended by java.lang.Enum<AbstractCommandLine.Mode>
      extended by net.obsearch.index.utils.AbstractCommandLine.Mode
All Implemented Interfaces:
Serializable, Comparable<AbstractCommandLine.Mode>
Enclosing class:
AbstractCommandLine<O extends OB,I extends Index<O>,A extends Ambient<O,I>>

protected static enum AbstractCommandLine.Mode
extends Enum<AbstractCommandLine.Mode>


Enum Constant Summary
add
           
approxEvalEP
           
approxEvalRecall
           
create
           
opt
           
search
           
x
           
 
Method Summary
static AbstractCommandLine.Mode valueOf(String name)
          Returns the enum constant of this type with the specified name.
static AbstractCommandLine.Mode[] 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

search

public static final AbstractCommandLine.Mode search

create

public static final AbstractCommandLine.Mode create

add

public static final AbstractCommandLine.Mode add

x

public static final AbstractCommandLine.Mode x

opt

public static final AbstractCommandLine.Mode opt

approxEvalEP

public static final AbstractCommandLine.Mode approxEvalEP

approxEvalRecall

public static final AbstractCommandLine.Mode approxEvalRecall
Method Detail

values

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

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

valueOf

public static AbstractCommandLine.Mode 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 © 2007-2011 Arnoldo Jose Muller Molina. All Rights Reserved.