java.lang.Object
com.blamejared.crafttweaker.annotation.processor.util.Optionull

public class Optionull extends Object
  • Constructor Details

    • Optionull

      public Optionull()
  • Method Details

    • ifPresent

      public static <T> void ifPresent(@Nullable T thing, Consumer<T> func)
    • ifPresent

      public static <T, U> void ifPresent(@Nullable T thing, Function<T,U> mapper, Consumer<U> func)