Class Filter.KeyValueFilter

  • Enclosing class:
    Filter

    public static class Filter.KeyValueFilter
    extends java.lang.Object
    Deprecated.
    Use a for with an if to filter the collection
    Helper class used to filter Map objects. You specify what field/s do you want to filter with a Filter.KeyValueFilter.FilterBy The regular expression passed as pattern will be used to filter the Map using a Pattern.
    • Constructor Summary

      Constructors 
      Constructor Description
      KeyValueFilter​(Filter.KeyValueFilter.FilterBy filterBy, java.lang.String regexPattern)
      Deprecated.
      Creates a KeyValueFilter passing the field to filter and the regex pattern
    • Method Summary

      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • KeyValueFilter

        public KeyValueFilter​(Filter.KeyValueFilter.FilterBy filterBy,
                              java.lang.String regexPattern)
                       throws java.util.regex.PatternSyntaxException
        Deprecated.
        Creates a KeyValueFilter passing the field to filter and the regex pattern
        Parameters:
        filterBy - the field/s to filter
        regexPattern - the regeex pattern
        Throws:
        java.util.regex.PatternSyntaxException - if the pattern is not valid