|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<ColumnComparatorNodeDialogPane.ComparatorMethod>
org.knime.base.node.preproc.colcompare.ColumnComparatorNodeDialogPane.ComparatorMethod
public static enum ColumnComparatorNodeDialogPane.ComparatorMethod
Comparator methods.
Enum Constant Summary | |
---|---|
EQUAL
|
|
GREATER
|
|
GREATEREQUAL
|
|
LESS
|
|
LESSEQUAL
|
|
NOTEQUAL
|
Method Summary | |
---|---|
(package private) abstract boolean |
compare(DataCell cell1,
DataCell cell2)
Compares both cell values using the comparator method. |
(package private) int |
compareValue(DataCell cell1,
DataCell cell2)
Compares both cell values using the most common's super type comparator. |
static ColumnComparatorNodeDialogPane.ComparatorMethod |
getMethod(String str)
Returns the comparator method, specified within the Enum.toString() . |
static ColumnComparatorNodeDialogPane.ComparatorMethod |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ColumnComparatorNodeDialogPane.ComparatorMethod[] |
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 |
---|
public static final ColumnComparatorNodeDialogPane.ComparatorMethod EQUAL
public static final ColumnComparatorNodeDialogPane.ComparatorMethod NOTEQUAL
public static final ColumnComparatorNodeDialogPane.ComparatorMethod LESS
public static final ColumnComparatorNodeDialogPane.ComparatorMethod LESSEQUAL
public static final ColumnComparatorNodeDialogPane.ComparatorMethod GREATER
public static final ColumnComparatorNodeDialogPane.ComparatorMethod GREATEREQUAL
Method Detail |
---|
public static ColumnComparatorNodeDialogPane.ComparatorMethod[] values()
for (ColumnComparatorNodeDialogPane.ComparatorMethod c : ColumnComparatorNodeDialogPane.ComparatorMethod.values()) System.out.println(c);
public static ColumnComparatorNodeDialogPane.ComparatorMethod 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 nullabstract boolean compare(DataCell cell1, DataCell cell2)
cell1
- left column valuecell2
- right column value
int compareValue(DataCell cell1, DataCell cell2)
cell1
- first cell valuecell2
- second cell value
public static final ColumnComparatorNodeDialogPane.ComparatorMethod getMethod(String str)
Enum.toString()
.
str
- comparator method's toString return value
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |