@ThreadSafe
public static class ChoiceFormatter.Condition
extends java.lang.Object
implements com.google.common.base.Predicate<java.lang.Object>
| Constructor and Description |
|---|
Condition(java.lang.String test,
ChoiceFormatter.Operator operator,
Formatter subFormat) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
apply(java.lang.Object value) |
protected boolean |
applyBooleanValue(java.lang.Boolean value) |
protected boolean |
applyNullValue() |
protected boolean |
applyNumberValue(java.lang.Number value) |
protected boolean |
applyStringValue(java.lang.String value) |
ChoiceFormatter.Operator |
getOperator() |
Formatter |
getSubFormat() |
java.lang.Object |
getTest() |
java.lang.String |
toString() |
public Condition(@Nonnull
java.lang.String test,
@Nonnull
ChoiceFormatter.Operator operator,
@Nonnull
Formatter subFormat)
@Nonnull public java.lang.Object getTest()
@Nonnull public ChoiceFormatter.Operator getOperator()
@Nonnull public Formatter getSubFormat()
public boolean apply(@Nullable
java.lang.Object value)
apply in interface com.google.common.base.Predicate<java.lang.Object>protected boolean applyBooleanValue(@Nonnull
java.lang.Boolean value)
protected boolean applyNumberValue(@Nonnull
java.lang.Number value)
protected boolean applyStringValue(@Nonnull
java.lang.String value)
protected boolean applyNullValue()
public java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2015 echocat. All Rights Reserved.