com.levigo.util.base.glazedlists
Interface Filterator<C,E>


public interface Filterator<C,E>

An interface for extracting a list of values to be considered by a Matcher when matching a particular element of a list.

Author:
James Lemieux

Method Summary
 void getFilterValues(List<C> baseList, E element)
          Extracts the list of filterable values from a given element.
 

Method Detail

getFilterValues

void getFilterValues(List<C> baseList,
                     E element)
Extracts the list of filterable values from a given element. These values will be accessed within a Matcher to judge whether the element matches some criteria.

Parameters:
baseList - a list that the implementor shall add their filter values to via baseList.add(). This may be a non-empty List and it is an error to call any method other than add().
element - the object to extract the filter values from


Copyright © 1995-2020 levigo holding gmbh. All Rights Reserved.