public class PredicateCondition<K,E extends TitanElement> extends Object
Condition.Type| Constructor and Description |
|---|
PredicateCondition(K key,
TitanPredicate predicate,
Object value) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
boolean |
evaluate(E element) |
Iterable<Condition<E>> |
getChildren() |
K |
getKey() |
TitanPredicate |
getPredicate() |
Condition.Type |
getType() |
Object |
getValue() |
boolean |
hasChildren() |
int |
hashCode() |
int |
numChildren() |
static <K,E extends TitanElement> |
of(K key,
TitanPredicate titanPredicate,
Object condition) |
String |
toString() |
public PredicateCondition(K key, TitanPredicate predicate, Object value)
public boolean evaluate(E element)
public K getKey()
public TitanPredicate getPredicate()
public Object getValue()
public int hashCode()
public boolean equals(Object other)
public String toString()
public static <K,E extends TitanElement> PredicateCondition<K,E> of(K key, TitanPredicate titanPredicate, Object condition)
public Condition.Type getType()
getType in interface Condition<E extends TitanElement>public boolean hasChildren()
hasChildren in interface Condition<E extends TitanElement>public int numChildren()
numChildren in interface Condition<E extends TitanElement>public Iterable<Condition<E>> getChildren()
getChildren in interface Condition<E extends TitanElement>Copyright © 2012–2014. All rights reserved.