com.ibm.portal
Interface SortedLocalizedListModel<T extends Localized>

All Superinterfaces:
Countable, CountableIterableListModel<T>, CountableListModel<T>, java.lang.Iterable<T>, IterableListModel<T>, ListModel<T>, java.util.Map.Entry<java.util.Locale,UnmodifiableList<? extends java.util.Map.Entry<? extends T,? extends java.lang.String>>>

public interface SortedLocalizedListModel<T extends Localized>
extends CountableIterableListModel<T>, java.util.Map.Entry<java.util.Locale,UnmodifiableList<? extends java.util.Map.Entry<? extends T,? extends java.lang.String>>>

Representation of a sorted set of Localized objects that are sorted with a locale specific comparator. The locale for this set can be fetched via Map.Entry.getKey(), the sorted range or resources via Map.Entry.getValue(). The resource list consists of a reference to the Localized object, paired with the string that was actually used to execute the comparison.

Since:
8.0

Method Summary
 java.util.Comparator<? super java.lang.String> getComparator()
          Comparator used to sort the items
 
Methods inherited from interface com.ibm.portal.model.CountableIterableListModel
size
 
Methods inherited from interface com.ibm.portal.IterableListModel
iterator
 
Methods inherited from interface java.util.Map.Entry
equals, getKey, getValue, hashCode, setValue
 

Method Detail

getComparator

java.util.Comparator<? super java.lang.String> getComparator()
Comparator used to sort the items

Returns:
the comparator, not null