public abstract class ServiceFilter extends Object
ServiceList. ServiceFilter is extended
to create concrete filters based on various criteria. Applications
may also extend this class to define custom filters, although
custom filters may not be supported on certain filtering
operations.ServiceList| Modifier | Constructor and Description |
|---|---|
protected |
ServiceFilter()
Constructs the filter.
|
public abstract boolean accept(Service service)
ServiceFilter override this method to
provide the logic for a filtering operation on individual
Service objects.service - A Service to be evaluated
against the filtering algorithm.true if service satisfies the
filtering algorithm; false otherwise.Copyright © 2012 code4tv.com. All Rights Reserved.