public enum Truth extends java.lang.Enum<Truth> implements OperableValue<Truth>
| Modifier and Type | Method and Description |
|---|---|
static void |
assertIs(java.lang.Object... objs) |
static void |
assertNot(java.lang.Object... objs) |
Truth |
equals(Truth other) |
java.lang.String |
getType() |
Truth |
negative() |
Truth |
plus(Truth other) |
Truth |
times(Truth other) |
java.lang.Boolean |
toNativeObject() |
java.lang.String |
toString() |
static Truth |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Truth[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOfassertIs, divide, greaterThan, greaterThanOrEqual, lessThan, lessThanOrEqual, minus, mod, pow, rangeTo, root, unsupportedpublic static Truth[] values()
for (Truth c : Truth.values()) System.out.println(c);
public static Truth 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 namejava.lang.NullPointerException - if the argument is nullpublic static void assertNot(java.lang.Object... objs)
public static void assertIs(java.lang.Object... objs)
public java.lang.String toString()
toString in class java.lang.Enum<Truth>public java.lang.Boolean toNativeObject()
toNativeObject in interface Valuepublic Truth plus(Truth other)
plus in interface OperableValue<Truth>public Truth times(Truth other)
times in interface OperableValue<Truth>public Truth negative()
negative in interface OperableValue<Truth>public Truth equals(Truth other)
equals in interface OperableValue<Truth>