public enum CrashIfZero extends Enum<CrashIfZero>
If zero matches, 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 CrashIfZero |
getForBoolean(boolean flag)
Return
CrashIfZero.YES if the flag is true, or NO if false. |
boolean |
isNo()
Is this
CrashIfZero equal to NO?. |
boolean |
isYes()
Is this
CrashIfZero equal to YES?. |
static CrashIfZero |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CrashIfZero[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CrashIfZero YES
YYY.
public static final CrashIfZero NO
YYY.
public static CrashIfZero[] values()
for (CrashIfZero c : CrashIfZero.values()) System.out.println(c);
public static CrashIfZero 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 CrashIfZero equal to YES?.
public final boolean isNo()
Is this CrashIfZero equal to NO?.
public static final CrashIfZero getForBoolean(boolean flag)
Return CrashIfZero.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