hirondelle.stocks.table
Class QuoteFilter
Object
QuoteFilter
public abstract class QuoteFilter
- extends Object
Allows collections of Quote objects
to be filtered according to a criterion defined by implementors.
| Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QuoteFilter
public QuoteFilter()
isAcceptable
public abstract boolean isAcceptable(Quote aQuote)
- Defines the criteria by which aQuote is accepted or rejected
by this filter.
sift
public final List<Quote> sift(Collection<Quote> aQuotes)
- Return a List which has the same
iteration order as aQuotes, but which includes only those elements
which satisfy
isAcceptable(hirondelle.stocks.quotes.Quote).
Copyright Hirondelle Systems - License - Generated 2008Jul12.10.53