public class HasContainer extends Object implements Serializable, Cloneable, Predicate<Element>
Constructor and Description |
---|
HasContainer(String key,
P<?> predicate) |
Modifier and Type | Method and Description |
---|---|
HasContainer |
clone() |
BiPredicate<?,?> |
getBiPredicate() |
String |
getKey() |
P<?> |
getPredicate() |
Object |
getValue() |
int |
hashCode() |
void |
setKey(String key) |
boolean |
test(Element element) |
boolean |
test(Property property) |
static <S> boolean |
testAll(S element,
List<HasContainer> hasContainers) |
protected boolean |
testId(Element element) |
protected boolean |
testIdAsString(Element element) |
protected boolean |
testKey(Property property) |
protected boolean |
testLabel(Element element) |
protected boolean |
testValue(Property property) |
String |
toString() |
public final boolean test(Property property)
protected boolean testId(Element element)
protected boolean testIdAsString(Element element)
protected boolean testLabel(Element element)
protected boolean testValue(Property property)
protected boolean testKey(Property property)
public HasContainer clone()
public final String getKey()
public final void setKey(String key)
public final P<?> getPredicate()
public final BiPredicate<?,?> getBiPredicate()
public final Object getValue()
public static <S> boolean testAll(S element, List<HasContainer> hasContainers)
Copyright © 2013–2020 Apache Software Foundation. All rights reserved.