Class GroupFilter<K>

  • All Implemented Interfaces:
    Predicate<K>, KeyFilter<K>

    public class GroupFilter<K>
    extends Object
    implements KeyFilter<K>
    A key filter that accepts keys which belongs to the group.
    Since:
    7.0
    Author:
    Pedro Ruivo
    • Constructor Detail

    • Method Detail

      • accept

        public boolean accept​(K key)
        Specified by:
        accept in interface KeyFilter<K>
        Parameters:
        key - key to test
        Returns:
        true if the given key is accepted by this filter.