Uses of Interface
ch.andre601.expressionparser.expressions.ToStringExpression
Packages that use ToStringExpression
Package
Description
-
Uses of ToStringExpression in ch.andre601.expressionparser
Methods in ch.andre601.expressionparser that return ToStringExpressionModifier and TypeMethodDescriptionstatic ToStringExpressionConversions.toString(ToBooleanExpression expression) Converts the providedToBooleanExpressioninto aToStringExpressionwith its String value being the output of Boolean.toString(expression.evaluate()).static ToStringExpressionConversions.toString(ToDoubleExpression expression) Converts the providedToDoubleExpressioninto aToStringExpressionwith its String value being the output of either Integer.toString((int)expression.evaluate()) or Double.toString(expression.evaluate()) depending on if the ToDoubleExpression's double value can be cast to an Integer.Methods in ch.andre601.expressionparser with parameters of type ToStringExpressionModifier and TypeMethodDescriptionstatic ToBooleanExpressionConversions.toBoolean(ToStringExpression expression) Converts the providedToStringExpressioninto aToBooleanExpressionwith its boolean value being the output of Boolean.parseBoolean(expression.evaluate()).static ToDoubleExpressionConversions.toDouble(ToStringExpression expression) Converts the providedToStringExpressioninto aToDoubleExpressionwith its double value being parsed from the ToStringExpression's String value using a static NumberFormatter. -
Uses of ToStringExpression in ch.andre601.expressionparser.expressions
Classes in ch.andre601.expressionparser.expressions that implement ToStringExpressionModifier and TypeClassDescriptionstatic classPre-made class that can be used through the literal method of the ToStringExpression interface.Methods in ch.andre601.expressionparser.expressions that return ToStringExpressionModifier and TypeMethodDescriptionstatic ToStringExpressionExpressions.concat(Collection<ToStringExpression> operands) Returns aToStringExpressionwhose String value is the concatenated (merged) String values of all provided ToStringExpressions.static ToStringExpressionCreates a new ToStringExpression instance containing the provided String value.Methods in ch.andre601.expressionparser.expressions with parameters of type ToStringExpressionModifier and TypeMethodDescriptionstatic 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.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.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.Method parameters in ch.andre601.expressionparser.expressions with type arguments of type ToStringExpressionModifier and TypeMethodDescriptionstatic ToStringExpressionExpressions.concat(Collection<ToStringExpression> operands) Returns aToStringExpressionwhose String value is the concatenated (merged) String values of all provided ToStringExpressions. -
Uses of ToStringExpression in ch.andre601.expressionparser.expressions.abstracted
Classes in ch.andre601.expressionparser.expressions.abstracted that implement ToStringExpressionModifier and TypeClassDescriptionclassAbstractToStringExpression<T extends Expression>Abstract class that implements theToStringExpressioninterface.classAbstractUnaryToStringExpression<T extends Expression>Abstract class that implements theToStringExpressioninterface. -
Uses of ToStringExpression in ch.andre601.expressionparser.templates
Methods in ch.andre601.expressionparser.templates that return ToStringExpressionModifier and TypeMethodDescriptionConstantExpressionTemplate.returnStringExpression()Returns the ToStringExpression instance this ExpressionTemplate holds.ExpressionTemplate.returnStringExpression()Returns the ToStringExpression instance this ExpressionTemplate holds. -
Uses of ToStringExpression in ch.andre601.expressionparser.templates.abstracted
Methods in ch.andre601.expressionparser.templates.abstracted that return ToStringExpressionModifier and TypeMethodDescriptionAbstractBooleanExpressionTemplate.returnStringExpression()ToStringExpressionholding the boolean value as String.AbstractDoubleExpressionTemplate.returnStringExpression()ToStringExpressionholding the double value as String value.