Class Star

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

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

      • TYPE_

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

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

        public static final Name RESTRICTOR
        Name of the com.gdblab.pathAlgebra.syntax.Star.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​(Star other)
        Specified by:
        compareTo in interface java.lang.Comparable<Star>
      • withExpression

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