use of uk.gov.gchq.gaffer.function.filter.AreEqual in project Gaffer by gchq.
the class NotExample method areNotEqual.
public void areNotEqual() {
// ---------------------------------------------------------
final Not function = new Not(new AreEqual());
// ---------------------------------------------------------
runExample(function, new Object[] { 1, 1.0 }, new Object[] { 1, 2 }, new Object[] { 2.5, 2.5 }, new Object[] { "", null }, new Object[] { "abc", "abc" });
}
use of uk.gov.gchq.gaffer.function.filter.AreEqual in project Gaffer by gchq.
the class AreEqualExample method areEqual.
public void areEqual() {
// ---------------------------------------------------------
final AreEqual function = new AreEqual();
// ---------------------------------------------------------
runExample(function, new Object[] { 1, 1.0 }, new Object[] { 2.5, 2.5 }, new Object[] { "", null }, new Object[] { "abc", "abc" });
}