public final 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() |
static HasContainer[] |
makeHasContainers(String key,
P<?> predicate) |
void |
setKey(String key) |
boolean |
test(Element element) |
static boolean |
testAll(Element element,
List<HasContainer> hasContainers) |
String |
toString() |
public HasContainer clone()
public String getKey()
public void setKey(String key)
public P<?> getPredicate()
public BiPredicate<?,?> getBiPredicate()
public Object getValue()
public static boolean testAll(Element element, List<HasContainer> hasContainers)
public static HasContainer[] makeHasContainers(String key, P<?> predicate)
Copyright © 2013–2015 Apache Software Foundation. All rights reserved.