ca.odell.glazedlists
Class PopularityList<E>
- EventListener, EventList<E>, List, ListEventListener<E>
public final class PopularityList<E>
An
EventList
that shows the unique elements from its source
EventList
ordered by the frequency of their appearance.
This
EventList
supports all write operations.
Warning: This class
breaks the contract required by
java.util.List
. See
EventList
for an example.
EventList Overview |
Writable: | yes |
Concurrency: | thread ready, not thread safe |
Performance: | reads: O(log N), writes O(log N) |
Memory: | 196 bytes per element |
Unit Tests: | N/A |
Issues: |
104
|
add , addAll , clear , dispose , get , getSourceIndex , isWritable , listChanged , remove , removeAll , retainAll , set , size |
T[] toArray , add , add , addAll , addAll , addListEventListener , clear , contains , containsAll , equals , get , getPublisher , getReadWriteLock , hashCode , indexOf , isEmpty , iterator , lastIndexOf , listIterator , listIterator , remove , remove , removeAll , removeListEventListener , retainAll , set , size , subList , toArray , toString |
PopularityList
public PopularityList(EventList source)
PopularityList
public PopularityList(EventList source,
Comparator uniqueComparator)
uniqueComparator
- The Comparator
used to determine equality.
Glazed Lists, Copyright © 2003-2006 publicobject.com, O'Dell Engineering.
Documentation build by buildd at 2008-01-04 14:38