|
|
|
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<IHasDurationComparator.Mode>
org.torweg.pulse.util.time.IHasDurationComparator.Mode
public static enum IHasDurationComparator.Mode
The values for the mode of the IHasDurationComparator.
The mode defines whether to use the start milliseconds
or the end milliseconds or the length
of the Duration of the given IHasDuration for
comparison.
| Enum Constant Summary | |
|---|---|
END
Compare by end milliseconds. |
|
LENGTH
Compare by length. |
|
START
Compare by start milliseconds. |
|
| Method Summary | |
|---|---|
static IHasDurationComparator.Mode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static IHasDurationComparator.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 IHasDurationComparator.Mode START
public static final IHasDurationComparator.Mode END
public static final IHasDurationComparator.Mode LENGTH
| Method Detail |
|---|
public static final IHasDurationComparator.Mode[] values()
for(IHasDurationComparator.Mode c : IHasDurationComparator.Mode.values())
System.out.println(c);
public static IHasDurationComparator.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 | |||||||||