Record Class Symbols.Interval
java.lang.Object
java.lang.Record
org.clafer.frontend.Symbols.Interval
- Record Components:
low- the lower boundhigh- the upper bound,Unboundedfor*
- Enclosing class:
Symbols
An interval of a card or a group card.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Symbols.Intervalstatic final Symbols.Intervalstatic final Symbols.Intervalstatic final int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.inthigh()Returns the value of thehighrecord component.intlow()Returns the value of thelowrecord component.toString()Returns a string representation of this record class.
-
Field Details
-
Unbounded
- See Also:
-
Any
-
One
-
Lone
-
-
Constructor Details
-
Interval
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with thecomparemethod from their corresponding wrapper classes. -
low
-
high
-