|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<PMMLSetOperator>
org.knime.base.node.mine.decisiontree2.PMMLSetOperator
public enum PMMLSetOperator
Contains the set operators that are specified in PMML for SimpleSetPredicates.
Enum Constant Summary | |
---|---|
IS_IN
is missing operator. |
|
IS_NOT_IN
is not missing operator. |
Method Summary | ||
---|---|---|
|
evaluate(T a,
Set<T> set)
Evaluates the operator on the passed value. |
|
static PMMLSetOperator |
get(String represent)
Returns the corresponding operator for the passed representation. |
|
String |
toString()
|
|
static PMMLSetOperator |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
|
static PMMLSetOperator[] |
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, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final PMMLSetOperator IS_IN
public static final PMMLSetOperator IS_NOT_IN
Method Detail |
---|
public static PMMLSetOperator[] values()
for (PMMLSetOperator c : PMMLSetOperator.values()) System.out.println(c);
public static PMMLSetOperator valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic String toString()
toString
in class Enum<PMMLSetOperator>
public static PMMLSetOperator get(String represent) throws InstantiationException
represent
- the representation to find the operator for
InstantiationException
- - if no such PMML operator existspublic <T> boolean evaluate(T a, Set<T> set)
T
- The type of the parameters to be evaluated.a
- the value to checkset
- the set to compare against
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |