Enum Class PointFreeRule.LensComp

java.lang.Object
java.lang.Enum<PointFreeRule.LensComp>
com.mojang.datafixers.functions.PointFreeRule.LensComp
All Implemented Interfaces:
PointFreeRule, PointFreeRule.CompRewrite, Serializable, Comparable<PointFreeRule.LensComp>, Constable
Enclosing interface:
PointFreeRule

public static enum PointFreeRule.LensComp extends Enum<PointFreeRule.LensComp> implements PointFreeRule.CompRewrite
  • Enum Constant Details

  • Method Details

    • values

      public static PointFreeRule.LensComp[] 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

      public static PointFreeRule.LensComp valueOf(String name)
      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 name
      NullPointerException - 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 interface PointFreeRule.CompRewrite