Class EvaluationUtils

java.lang.Object
software.amazon.smithy.jmespath.evaluation.EvaluationUtils

public final class EvaluationUtils extends Object
Functions that make evaluating JmespathExpressions or implementing the JmespathRuntime interface easier.
  • Constructor Details

    • EvaluationUtils

      public EvaluationUtils()
  • Method Details

    • numberType

      public static NumberType numberType(Number number)
    • codePointCount

      public static int codePointCount(String string)
    • equals

      public static <T> boolean equals(JmespathRuntime<T> runtime, T a, T b)
      Default implementation of equality. Objects.equals() is not generally adequate because it will not consider equivalent Number values of different types equal.