Class Comparison

java.lang.Object
org.neo4j.cypherdsl.core.Comparison
All Implemented Interfaces:
Visitable, Condition, Expression

@API(status=STABLE, since="1.0") public final class Comparison extends Object implements Condition
A concrete condition representing a comparision between two expressions.
Since:
1.0
Author:
Michael J. Simons, Gerrit Meier
  • Method Details

    • accept

      public void accept(Visitor visitor)
      Description copied from interface: Visitable
      Accept a Visitor visiting this Visitable and its nested Visitables if applicable.
      Specified by:
      accept in interface Visitable
      Parameters:
      visitor - the visitor to notify, must not be null.
    • not

      @NotNull public @NotNull Condition not()
      Description copied from interface: Condition
      Negates this condition.
      Specified by:
      not in interface Condition
      Returns:
      A new condition.