public abstract class QuoteFilter extends Object
Quote
objects
to be filtered according to a criterion defined by implementors.
JDK less than 6.Constructor and Description |
---|
QuoteFilter() |
Modifier and Type | Method and Description |
---|---|
abstract boolean |
isAcceptable(Quote aQuote)
Defines the criteria by which aQuote is accepted or rejected
by this filter.
|
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) . |
public QuoteFilter()
public abstract boolean isAcceptable(Quote aQuote)
public final List<Quote> sift(Collection<Quote> aQuotes)
isAcceptable(hirondelle.stocks.quotes.Quote)
.Copyright Hirondelle Systems - License - Generated 2013Sep20.10.58