Uses of Interface
ch.andre601.expressionparser.expressions.ToBooleanExpression
Packages that use ToBooleanExpression
Package
Description
-
Uses of ToBooleanExpression in ch.andre601.expressionparser
Methods in ch.andre601.expressionparser that return ToBooleanExpressionModifier and TypeMethodDescriptionstatic ToBooleanExpressionConversions.toBoolean(ToDoubleExpression expression) Converts the providedToDoubleExpressioninto aToBooleanExpressionwith its boolean value being true if the ToDoubleExpression's double value is anything but zero.static ToBooleanExpressionConversions.toBoolean(ToStringExpression expression) Converts the providedToStringExpressioninto aToBooleanExpressionwith its boolean value being the output of Boolean.parseBoolean(expression.evaluate()).Methods in ch.andre601.expressionparser with parameters of type ToBooleanExpressionModifier and TypeMethodDescriptionstatic ToDoubleExpressionConversions.toDouble(ToBooleanExpression expression) Converts the providedToBooleanExpressioninto aToDoubleExpressionwith its double value being one should the ToBooleanExpression's boolean value be true, else zero.static ToStringExpressionConversions.toString(ToBooleanExpression expression) Converts the providedToBooleanExpressioninto aToStringExpressionwith its String value being the output of Boolean.toString(expression.evaluate()). -
Uses of ToBooleanExpression in ch.andre601.expressionparser.expressions
Classes in ch.andre601.expressionparser.expressions that implement ToBooleanExpressionModifier and TypeClassDescriptionstatic classPre-made class that can be used through the literal method of the ToBooleanExpression interface.Methods in ch.andre601.expressionparser.expressions that return ToBooleanExpressionModifier and TypeMethodDescriptionstatic ToBooleanExpressionExpressions.and(Collection<ToBooleanExpression> operands) Returns aToBooleanExpressionwho's boolean value is true if and only if all provided ToBooleanExpressions have a true boolean value.static ToBooleanExpressionExpressions.contains(ToStringExpression a, ToStringExpression b) Returns aToBooleanExpressionwho's boolean value is true if the String value of the firstToStringExpressioncontains the String value of the secondToStringExpression.static ToBooleanExpressionExpressions.containsIgnoreCase(ToStringExpression a, ToStringExpression b) Returns aToBooleanExpressionwho's boolean value is true if the String value of the firstToStringExpressioncontains the String value of the secondToStringExpression.static ToBooleanExpressionExpressions.endsWith(ToStringExpression a, ToStringExpression b) Returns aToBooleanExpressionwho's boolean value is true if the String value of the firstToStringExpressionends with the String value of the secondToStringExpression.static ToBooleanExpressionExpressions.endsWithIgnoreCase(ToStringExpression a, ToStringExpression b) Returns aToBooleanExpressionwho's boolean value is true if the String value of the firstToStringExpressionends with the String value of the secondToStringExpression.static ToBooleanExpressionExpressions.equal(ToStringExpression a, ToStringExpression b) Returns aToBooleanExpressionwho's boolean value is true if and only if the String values of both provided ToStringExpressions are equal.static ToBooleanExpressionExpressions.equalIgnoreCase(ToStringExpression a, ToStringExpression b) Returns aToBooleanExpressionwho's boolean value is true if and only if the String values of both provided ToStringExpressions are equal.static ToBooleanExpressionExpressions.greaterOrEqualThan(ToDoubleExpression a, ToDoubleExpression b) Returns aToBooleanExpressionwho's boolean value is true if the double value of the firstToDoubleExpressionis greater than or equal to the double value of the secondToDoubleExpression.static ToBooleanExpressionExpressions.greaterThan(ToDoubleExpression a, ToDoubleExpression b) Returns aToBooleanExpressionwho's boolean value is true if the double value of the firstToDoubleExpressionis greater than the double value of the secondToDoubleExpression.static ToBooleanExpressionExpressions.lessOrEqualThan(ToDoubleExpression a, ToDoubleExpression b) Returns aToBooleanExpressionwho's boolean value is true if the double value of the firstToDoubleExpressionis less than or equal to the double value of the secondToDoubleExpression.static ToBooleanExpressionExpressions.lessThan(ToDoubleExpression a, ToDoubleExpression b) Returns aToBooleanExpressionwho's boolean value is true if the double value of the firstToDoubleExpressionis less than the double value of the secondToDoubleExpression.static ToBooleanExpressionToBooleanExpression.literal(boolean value) Creates a new ToBooleanExpression instance containing the provided boolean value.static ToBooleanExpressionExpressions.negate(ToBooleanExpression expression) Negates the providedToBooleanExpression.static ToBooleanExpressionExpressions.notEqual(ToStringExpression a, ToStringExpression b) Returns aToBooleanExpressionwho's boolean value is true if and only if the String values of both provided ToStringExpressions are not equal.static ToBooleanExpressionExpressions.notEqualIgnoreCase(ToStringExpression a, ToStringExpression b) Returns aToBooleanExpressionwho's boolean value is true if and only if the String values of both provided ToStringExpressions are not equal.static ToBooleanExpressionExpressions.or(Collection<ToBooleanExpression> operands) Returns aToBooleanExpressionwho's boolean value is true if at least one of the provided ToBooleanExpressions has a true boolean value.static ToBooleanExpressionExpressions.startsWith(ToStringExpression a, ToStringExpression b) Returns aToBooleanExpressionwho's boolean value is true if the String value of the firstToStringExpressionstarts with the String value of the secondToStringExpression.static ToBooleanExpressionExpressions.startsWithIgnoreCase(ToStringExpression a, ToStringExpression b) Returns aToBooleanExpressionwho's boolean value is true if the String value of the firstToStringExpressionstarts with the String value of the secondToStringExpression.Methods in ch.andre601.expressionparser.expressions with parameters of type ToBooleanExpressionModifier and TypeMethodDescriptionstatic ToBooleanExpressionExpressions.negate(ToBooleanExpression expression) Negates the providedToBooleanExpression.Method parameters in ch.andre601.expressionparser.expressions with type arguments of type ToBooleanExpressionModifier and TypeMethodDescriptionstatic ToBooleanExpressionExpressions.and(Collection<ToBooleanExpression> operands) Returns aToBooleanExpressionwho's boolean value is true if and only if all provided ToBooleanExpressions have a true boolean value.static ToBooleanExpressionExpressions.or(Collection<ToBooleanExpression> operands) Returns aToBooleanExpressionwho's boolean value is true if at least one of the provided ToBooleanExpressions has a true boolean value. -
Uses of ToBooleanExpression in ch.andre601.expressionparser.expressions.abstracted
Classes in ch.andre601.expressionparser.expressions.abstracted that implement ToBooleanExpressionModifier and TypeClassDescriptionclassAbstractBinaryToBooleanExpression<T extends Expression>Abstract class implementing theToBooleanExpressioninterface.classAbstractToBooleanExpression<T extends Expression>Abstract class implementing theToBooleanExpressioninterface.classAbstractUnaryToBooleanExpression<T extends Expression>Abstract class that implements theToBooleanExpressioninterface. -
Uses of ToBooleanExpression in ch.andre601.expressionparser.templates
Methods in ch.andre601.expressionparser.templates that return ToBooleanExpressionModifier and TypeMethodDescriptionConstantExpressionTemplate.returnBooleanExpression()Returns the ToBooleanExpression instance this ExpressionTemplate holds.ExpressionTemplate.returnBooleanExpression()Returns the ToBooleanExpression instance this ExpressionTemplate holds. -
Uses of ToBooleanExpression in ch.andre601.expressionparser.templates.abstracted
Methods in ch.andre601.expressionparser.templates.abstracted that return ToBooleanExpressionModifier and TypeMethodDescriptionAbstractDoubleExpressionTemplate.returnBooleanExpression()ToBooleanExpressionholding the boolean valuetrueif the double value is anything but 0, else false.AbstractStringExpressionTemplate.returnBooleanExpression()ToBooleanExpressionholding the String value as boolean value usingBoolean.parseBoolean(String).