use of uk.gov.gchq.koryphe.impl.predicate.AreEqual in project gaffer-doc by gchq.
the class NotExample method areNotEqual.
public void areNotEqual() {
// ---------------------------------------------------------
final Not function = new Not<>(new AreEqual());
// ---------------------------------------------------------
runExample(function, null, new Tuple2<>(1, 1.0), new Tuple2<>(1, 2), new Tuple2<>(2.5, 2.5), new Tuple2<>("", null), new Tuple2<>("abc", "abc"));
}
use of uk.gov.gchq.koryphe.impl.predicate.AreEqual in project gaffer-doc by gchq.
the class AreEqualExample method areEqual.
public void areEqual() {
// ---------------------------------------------------------
final AreEqual function = new AreEqual();
// ---------------------------------------------------------
runExample(function, null, new Tuple2<>(1, 1.0), new Tuple2<>(2.5, 2.5), new Tuple2<>("", null), new Tuple2<>("abc", "abc"));
}