public enum CombineMode extends java.lang.Enum<CombineMode>
Enum Constant and Description |
---|
FIND_BROADEN
Extend the current collection with the search result.
|
FIND_NARROW
Search within the current collection.
|
FIND_NEW
Replace the current collection content completely with the search result.
|
Modifier and Type | Method and Description |
---|---|
static CombineMode |
find(int id)
Finds the combine mode for the given id.
|
int |
getID()
Returns the id for this combine mode.
|
static CombineMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CombineMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CombineMode FIND_NEW
public static final CombineMode FIND_NARROW
public static final CombineMode FIND_BROADEN
public static CombineMode[] values()
for (CombineMode c : CombineMode.values()) System.out.println(c);
public static CombineMode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int getID()
find(int)
public static CombineMode find(int id)
id
- wanted idgetID()
www.canto.com
Canto, the Canto logo, the Cumulus logo, and Cumulus are registered trademarks of Canto GmbH, registered in the U.S. and other countries.