public enum Sorted extends Enum<Sorted>
Should the construtor list be sorted?.
http://codelet.aliteralmind.com, https://github.com/aliteralmind/codeletAllSimpleParamSignatures#newConstructorList| Modifier and Type | Method and Description |
|---|---|
static Sorted |
getForBoolean(boolean flag)
Return
Sorted.YES if the flag is true, or NO if false. |
boolean |
isNo()
Is this
Sorted equal to NO?. |
boolean |
isYes()
Is this
Sorted equal to YES?. |
static Sorted |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Sorted[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static Sorted[] values()
for (Sorted c : Sorted.values()) System.out.println(c);
public static Sorted 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 static final Sorted getForBoolean(boolean flag)
Return Sorted.YES if the flag is true, or NO if false.
Copyright 2014, Jeff Epstein, All Rights Reserved. See top of source code files for copyright notice.
https://github.com/aliteralmind/codelet