Class BooleanLazyNumber

java.lang.Object
me.hsgamer.hscore.expression.BooleanLazyNumber

public final class BooleanLazyNumber extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final com.udojava.evalex.Expression.LazyNumber
    The FALSE state for Boolean LazyFunction and LazyOperator
    static final com.udojava.evalex.Expression.LazyNumber
    The TRUE state for Boolean LazyFunction and LazyOperator
  • Method Summary

    Modifier and Type
    Method
    Description
    static @NotNull com.udojava.evalex.Expression.LazyNumber
    convert(boolean bool)
    Convert primary boolean to BooleanLazyNumber
    static @NotNull com.udojava.evalex.Expression.LazyNumber
    invert(@NotNull com.udojava.evalex.Expression.LazyNumber input)
    Invert the boolean state of BooleanLazyNumber

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • FALSE

      public static final com.udojava.evalex.Expression.LazyNumber FALSE
      The FALSE state for Boolean LazyFunction and LazyOperator
    • TRUE

      public static final com.udojava.evalex.Expression.LazyNumber TRUE
      The TRUE state for Boolean LazyFunction and LazyOperator
  • Method Details

    • convert

      @NotNull public static @NotNull com.udojava.evalex.Expression.LazyNumber convert(boolean bool)
      Convert primary boolean to BooleanLazyNumber
      Parameters:
      bool - the primary boolean
      Returns:
      BooleanLazyNumber's boolean
    • invert

      @NotNull public static @NotNull com.udojava.evalex.Expression.LazyNumber invert(@NotNull @NotNull com.udojava.evalex.Expression.LazyNumber input)
      Invert the boolean state of BooleanLazyNumber
      Parameters:
      input - the original state
      Returns:
      the inverted state