Package me.hsgamer.hscore.expression
Class BooleanLazyNumber
java.lang.Object
me.hsgamer.hscore.expression.BooleanLazyNumber
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull com.udojava.evalex.Expression.LazyNumberconvert(boolean bool) Convert primary boolean to BooleanLazyNumberstatic @NotNull com.udojava.evalex.Expression.LazyNumberinvert(@NotNull com.udojava.evalex.Expression.LazyNumber input) Invert the boolean state of BooleanLazyNumber
-
Field Details
-
FALSE
public static final com.udojava.evalex.Expression.LazyNumber FALSEThe FALSE state for Boolean LazyFunction and LazyOperator -
TRUE
public static final com.udojava.evalex.Expression.LazyNumber TRUEThe 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
-