public enum DurationType extends Enum<DurationType>
| Enum Constant and Description |
|---|
flash |
gap |
indeterminate |
none |
| Modifier and Type | Method and Description |
|---|---|
DurationType |
combine(DurationType other) |
boolean |
interleavingOk(DurationType preceding) |
static DurationType |
newDurationType(boolean on) |
static DurationType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DurationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DurationType gap
public static final DurationType flash
public static final DurationType none
public static final DurationType indeterminate
public static DurationType[] values()
for (DurationType c : DurationType.values()) System.out.println(c);
public static DurationType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic DurationType combine(DurationType other)
public boolean interleavingOk(DurationType preceding)
public static DurationType newDurationType(boolean on)
Copyright © 2019. All rights reserved.