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 HasContainerclone()BiPredicate<?,?>getBiPredicate()StringgetKey()P<?>getPredicate()ObjectgetValue()inthashCode()voidsetKey(String key)booleantest(Element element)booleantest(Property property)static booleantestAll(Element element, List<HasContainer> hasContainers)static <V> booleantestAll(Property<V> property, List<HasContainer> hasContainers)protected booleantestId(Element element)protected booleantestIdAsString(Element element)protected booleantestKey(Property property)protected booleantestLabel(Element element)protected booleantestValue(Property property)StringtoString()
-
-
-
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)
-
-