Class FilteredList

All Implemented Interfaces:
HasHandlers, HasDataArrivedHandlers, HasDataChangedHandlers

public class FilteredList extends ResultSet
A subclass of ResultSet designed to provide a synchronously filterable List interface for an array of data.

Developers should set allRows to the full set of data objects, and use criteria to the apply criteria to the data set. Standard List APIs such as List.get(), List.getLength(), List.getRange(), etc will then allow access to a filtered subset of this data.

The dataSource attribute may be used to specify the format of records to be stored within this list, but this is not required. If no DataSource is explicitly specified, filteredList will automatically generate its own DataSource with dropUnknownCriteria set to false.