public enum CrashIfMoreThanOne extends Enum<CrashIfMoreThanOne>
If more than one match, crash?.
aliteralmind __DASH__ github __AT__ yahoo __DOT__ com), dual-licensed under the LGPL (version 3.0 or later) or the ASL (version 2.0). See source code for details. http://codelet.aliteralmind.com, https://github.com/aliteralmind/codeletSimpleParamSigSearchTerm#getFirstMatch| Modifier and Type | Method and Description |
|---|---|
static CrashIfMoreThanOne |
getForBoolean(boolean flag)
Return
CrashIfMoreThanOne.YES if the flag is true, or NO if false. |
boolean |
isNo()
Is this
CrashIfMoreThanOne equal to NO?. |
boolean |
isYes()
Is this
CrashIfMoreThanOne equal to YES?. |
static CrashIfMoreThanOne |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CrashIfMoreThanOne[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CrashIfMoreThanOne YES
YYY.
public static final CrashIfMoreThanOne NO
YYY.
public static CrashIfMoreThanOne[] values()
for (CrashIfMoreThanOne c : CrashIfMoreThanOne.values()) System.out.println(c);
public static CrashIfMoreThanOne 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 final boolean isYes()
Is this CrashIfMoreThanOne equal to YES?.
public final boolean isNo()
Is this CrashIfMoreThanOne equal to NO?.
public static final CrashIfMoreThanOne getForBoolean(boolean flag)
Return CrashIfMoreThanOne.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