|
|
|
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<ICountComparator.Mode>
org.torweg.pulse.component.statistics.model.aggregation.ICountComparator.Mode
public static enum ICountComparator.Mode
The values for the mode of the ICountComparator which apply
during internal compare.
If
ICount o1.getCount() == ICount o2.getCount()
the ICountComparator.compare() returns as follows:
ICountComparator.Mode.Soft: -1 or 1 according to
orderModeICountComparator.Mode.Strict: 0
| Enum Constant Summary | |
|---|---|
SOFT
Soft comparison mode. |
|
STRICT
Strict comparison mode. |
|
| Method Summary | |
|---|---|
static ICountComparator.Mode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static ICountComparator.Mode[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final ICountComparator.Mode STRICT
public static final ICountComparator.Mode SOFT
| Method Detail |
|---|
public static final ICountComparator.Mode[] values()
for(ICountComparator.Mode c : ICountComparator.Mode.values())
System.out.println(c);
public static ICountComparator.Mode 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 name
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||