Class HasContainer
- java.lang.Object
-
- org.apache.tinkerpop.gremlin.process.traversal.step.util.HasContainer
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Predicate<Element>
public class HasContainer extends Object implements Serializable, Cloneable, Predicate<Element>
- Author:
- Marko A. Rodriguez (http://markorodriguez.com)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description HasContainer(String key, P<?> predicate)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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 boolean
testAll(Element element, List<HasContainer> hasContainers)
static <V> boolean
testAll(Property<V> property, 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()
-
-
-
Method Detail
-
test
public final boolean test(Property property)
-
testId
protected boolean testId(Element element)
-
testIdAsString
protected boolean testIdAsString(Element element)
-
testLabel
protected boolean testLabel(Element element)
-
testValue
protected boolean testValue(Property property)
-
testKey
protected boolean testKey(Property property)
-
clone
public HasContainer clone()
-
getKey
public final String getKey()
-
setKey
public final void setKey(String key)
-
getPredicate
public final P<?> getPredicate()
-
getBiPredicate
public final BiPredicate<?,?> getBiPredicate()
-
getValue
public final Object getValue()
-
testAll
public static <V> boolean testAll(Property<V> property, List<HasContainer> hasContainers)
-
testAll
public static boolean testAll(Element element, List<HasContainer> hasContainers)
-
-