Package com.mojang.datafixers.functions
Enum Class PointFreeRule.SortInj
- All Implemented Interfaces:
PointFreeRule
,PointFreeRule.CompRewrite
,Serializable
,Comparable<PointFreeRule.SortInj>
,Constable
- Enclosing interface:
- PointFreeRule
public static enum PointFreeRule.SortInj
extends Enum<PointFreeRule.SortInj>
implements PointFreeRule.CompRewrite
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
Nested classes/interfaces inherited from interface com.mojang.datafixers.functions.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
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic PointFreeRule.SortInj
Returns the enum constant of this class with the specified name.static PointFreeRule.SortInj[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
Methods inherited from interface com.mojang.datafixers.functions.PointFreeRule
rewriteOrNop
Methods inherited from interface com.mojang.datafixers.functions.PointFreeRule.CompRewrite
rewrite
-
Enum Constant Details
-
INSTANCE
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
doRewrite
public Optional<? extends PointFree<? extends Function<?,?>>> doRewrite(PointFree<? extends Function<?, ?>> first, PointFree<? extends Function<?, ?>> second) - Specified by:
doRewrite
in interfacePointFreeRule.CompRewrite
-