Class Plus

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<Plus>

    public class Plus
    extends java.lang.Object
    implements java.io.Serializable, java.lang.Comparable<Plus>
    See Also:
    Serialized Form
    • Field Detail

      • TYPE_

        public static final Name TYPE_
        Name of the com.gdblab.pathAlgebra.syntax.Plus type.
      • EXPRESSION

        public static final Name EXPRESSION
        Name of the com.gdblab.pathAlgebra.syntax.Plus.expression field.
      • RESTRICTOR

        public static final Name RESTRICTOR
        Name of the com.gdblab.pathAlgebra.syntax.Plus.restrictor field.
      • expression

        public final Rpq expression
    • Method Detail

      • equals

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • compareTo

        public int compareTo​(Plus other)
        Specified by:
        compareTo in interface java.lang.Comparable<Plus>
      • withExpression

        public Plus withExpression​(Rpq expression)
        Returns a copy of this Plus with expression replaced.