public class SpecParameterPredicates
extends java.lang.Object
| Constructor and Description |
|---|
SpecParameterPredicates() |
| Modifier and Type | Method and Description |
|---|---|
static com.google.common.base.Predicate<SpecParameter<?>> |
labelEqualTo(java.lang.String label)
Returns true if the
label is the same as
the specified string. |
static com.google.common.base.Predicate<SpecParameter<?>> |
nameEqualTo(java.lang.String name)
Returns true if the
config key name is the same
as the specified string. |
static com.google.common.base.Predicate<SpecParameter<?>> |
sameName(SpecParameter<?> param)
Returns true if the
parameter name is the same as
that on the specified paramater. |
public static com.google.common.base.Predicate<SpecParameter<?>> sameName(SpecParameter<?> param)
parameter name is the same as
that on the specified paramater.public static com.google.common.base.Predicate<SpecParameter<?>> labelEqualTo(java.lang.String label)
label is the same as
the specified string.public static com.google.common.base.Predicate<SpecParameter<?>> nameEqualTo(java.lang.String name)
config key name is the same
as the specified string.