Search in sources :

Example 1 with AreEqual

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" });
}
Also used : Not(uk.gov.gchq.gaffer.function.filter.Not) AreEqual(uk.gov.gchq.gaffer.function.filter.AreEqual)

Example 2 with AreEqual

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" });
}
Also used : AreEqual(uk.gov.gchq.gaffer.function.filter.AreEqual)

Aggregations

AreEqual (uk.gov.gchq.gaffer.function.filter.AreEqual)2 Not (uk.gov.gchq.gaffer.function.filter.Not)1