Class Preconditions

java.lang.Object
net.pl3x.map.core.util.Preconditions

public class Preconditions extends Object
  • Constructor Details

    • Preconditions

      public Preconditions()
  • Method Details

    • checkArgument

      public static void checkArgument(boolean condition, @Nullable @Nullable Object error)
    • checkNotNull

      @NotNull public static <T> T checkNotNull(@Nullable T value, @Nullable @Nullable Object error)
    • checkState

      public static void checkState(boolean condition, @Nullable @Nullable Object error)