Record Class PointFreeRule.Everywhere
java.lang.Object
java.lang.Record
com.mojang.datafixers.functions.PointFreeRule.Everywhere
- All Implemented Interfaces:
PointFreeRule
- Enclosing interface:
PointFreeRule
public static record PointFreeRule.Everywhere(PointFreeRule topDown, PointFreeRule bottomUp)
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 PointFreeRuleThe field for thebottomUprecord component.private final PointFreeRuleThe field for thetopDownrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionEverywhere(PointFreeRule topDown, PointFreeRule bottomUp) Creates an instance of aEverywhererecord class. -
Method Summary
Modifier and TypeMethodDescriptionbottomUp()Returns the value of thebottomUprecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.topDown()Returns the value of thetopDownrecord component.final StringtoString()Returns a string representation of this record class.Methods inherited from interface PointFreeRule
rewriteOrNop
-
Field Details
-
topDown
The field for thetopDownrecord component. -
bottomUp
The field for thebottomUprecord component.
-
-
Constructor Details
-
Everywhere
Creates an instance of aEverywhererecord class.- Parameters:
topDown- the value for thetopDownrecord componentbottomUp- the value for thebottomUprecord component
-
-
Method Details
-
rewrite
- Specified by:
rewritein interfacePointFreeRule
-
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 withObjects::equals(Object,Object). -
topDown
Returns the value of thetopDownrecord component.- Returns:
- the value of the
topDownrecord component
-
bottomUp
Returns the value of thebottomUprecord component.- Returns:
- the value of the
bottomUprecord component
-