public class NotEquals extends AtomicBase
Implementation of atom corresponding to NeqProperty.
atomPattern, varName| Constructor and Description |
|---|
NotEquals(NotEquals a) |
NotEquals(Var varName,
NeqProperty prop,
ReasonerQuery parent) |
| Modifier and Type | Method and Description |
|---|---|
Atomic |
copy() |
boolean |
equals(Object obj) |
int |
equivalenceHashCode() |
QueryAnswers |
filter(QueryAnswers answers)
apply the not equals filter to answer set
|
java.util.stream.Stream<Answer> |
filter(java.util.stream.Stream<Answer> answers)
apply the not equals filter to answer stream
|
int |
hashCode() |
boolean |
isEquivalent(Object obj) |
static boolean |
notEqualsOperator(Answer answer,
NotEquals atom) |
Atomic |
unify(Unifier unifier)
perform unification on the atom by applying unifiers
|
containsVar, getCombinedPattern, getParentQuery, getPattern, getVarName, getVarNames, graph, isUserDefinedName, setParentQuery, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitisAtom, isPredicate, isRecursive, isRuleResolvable, isSelectablepublic NotEquals(Var varName, NeqProperty prop, ReasonerQuery parent)
public NotEquals(NotEquals a)
public boolean isEquivalent(Object obj)
public int equivalenceHashCode()
public Atomic copy()
copy in interface Atomiccopy in class AtomicBasepublic Atomic unify(Unifier unifier)
AtomicBaseunify in interface Atomicunify in class AtomicBaseunifier - contain variable mappings to be appliedpublic QueryAnswers filter(QueryAnswers answers)
answers - the filter should be applied topublic java.util.stream.Stream<Answer> filter(java.util.stream.Stream<Answer> answers)
answers - the filter should be applied toCopyright © 2017 Grakn Labs Ltd. All rights reserved.