hirondelle.stocks.table
Class QuoteSorterFactory
Object
QuoteSorterFactory
public final class QuoteSorterFactory
- extends Object
Translates a QuoteField into a
corresponding Comparator whose primary sort is on that field.
All returned Comparator objects are synchronized with
Quote.equals(java.lang.Object); thus, they may all be used with sorted collections.
There is only one use case for this class:
Comparator quoteSorter = QuoteSorterFactory.getSorter(quoteField);
| Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QuoteSorterFactory
public QuoteSorterFactory()
getSorter
public static Comparator<Quote> getSorter(QuoteField aField)
Copyright Hirondelle Systems - License - Generated 2008Jul12.10.53