/** * Creates a new {@link PopularityList} that provides frequency-ranking * for the specified {@link EventList}. All elements of the source {@link EventList} * must implement {@link Comparable}. */ public static <E extends Comparable<? super E>> PopularityList<E> create(EventList<E> source) { return new PopularityList<E>(UniqueList.create(source)); }
/** * Creates a new {@link PopularityList} that provides frequency-ranking * for the specified {@link EventList}. All elements of the source {@link EventList} * must implement {@link Comparable}. */ public static <E extends Comparable<? super E>> PopularityList<E> create(EventList<E> source) { return new PopularityList<E>(UniqueList.create(source)); }
/** * Creates a new {@link PopularityList} that provides frequency-ranking * for the specified {@link EventList}. All elements of the source {@link EventList} * must implement {@link Comparable}. */ public static <E extends Comparable<? super E>> PopularityList<E> create(EventList<E> source) { return new PopularityList<E>(UniqueList.create(source)); }