Class LengthCondition

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

    public class LengthCondition
    extends java.lang.Object
    implements java.io.Serializable, java.lang.Comparable<LengthCondition>
    Condition on path length: len() = i
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      java.lang.Integer length  
      static Name LENGTH
      Name of the com.gdblab.pathAlgebra.expressions.LengthCondition.length field.
      static Name TYPE_
      Name of the com.gdblab.pathAlgebra.expressions.LengthCondition type.
    • Field Detail

      • TYPE_

        public static final Name TYPE_
        Name of the com.gdblab.pathAlgebra.expressions.LengthCondition type.
      • LENGTH

        public static final Name LENGTH
        Name of the com.gdblab.pathAlgebra.expressions.LengthCondition.length field.
      • length

        public final java.lang.Integer length
    • Constructor Detail

      • LengthCondition

        public LengthCondition​(java.lang.Integer length)
        Constructs an immutable LengthCondition.
    • 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