Record Class PointFreeRule.Seq
java.lang.Object
java.lang.Record
com.mojang.datafixers.functions.PointFreeRule.Seq
- All Implemented Interfaces:
PointFreeRule
- Enclosing interface:
PointFreeRule
public static record PointFreeRule.Seq(PointFreeRule[] rules)
extends Record
implements PointFreeRule
-
Nested Class Summary
Nested classes/interfaces inherited from interface PointFreeRule
PointFreeRule.All, PointFreeRule.AppNest, PointFreeRule.BangEta, PointFreeRule.CataFuseDifferent, PointFreeRule.CataFuseSame, PointFreeRule.Choice, PointFreeRule.Choice2, PointFreeRule.CompRewrite, PointFreeRule.Everywhere, PointFreeRule.LensAppId, PointFreeRule.LensComp, PointFreeRule.Many, PointFreeRule.Nop, PointFreeRule.Once, PointFreeRule.One, PointFreeRule.Seq, PointFreeRule.SortInj, PointFreeRule.SortProj -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final PointFreeRule[]The field for therulesrecord component. -
Constructor Summary
Constructors -
Method Summary
Methods inherited from interface PointFreeRule
rewriteOrNop
-
Field Details
-
rules
The field for therulesrecord component.
-
-
Constructor Details
-
Seq
Creates an instance of aSeqrecord class.- Parameters:
rules- the value for therulesrecord component
-
-
Method Details
-
rewrite
- Specified by:
rewritein interfacePointFreeRule
-
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 withObjects::equals(Object,Object). -
hashCode
-
toString
-
rules
Returns the value of therulesrecord component.- Returns:
- the value of the
rulesrecord component
-