Class ExpressionUtil


  • public class ExpressionUtil
    extends java.lang.Object
    Useful static methods for expressions.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String END  
      static java.lang.String START  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.util.List<java.lang.String> createDistinctParametersList​(java.util.List<java.lang.String> allParameters)
      Returns a list which contains only distinct members of the specified list.
      static java.util.List<java.lang.String> extractParameters​(java.lang.String expression)
      Extracts list of all parameters in the specified expression
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • extractParameters

        public static java.util.List<java.lang.String> extractParameters​(java.lang.String expression)
        Extracts list of all parameters in the specified expression
      • createDistinctParametersList

        public static java.util.List<java.lang.String> createDistinctParametersList​(java.util.List<java.lang.String> allParameters)
        Returns a list which contains only distinct members of the specified list.