org.apache.pivot.wtk
Class TableView.SortDictionary
java.lang.Object
org.apache.pivot.wtk.TableView.SortDictionary
- All Implemented Interfaces:
- Iterable<String>, org.apache.pivot.collections.Dictionary<String,SortDirection>
- Enclosing class:
- TableView
public final class TableView.SortDictionary
- extends Object
- implements org.apache.pivot.collections.Dictionary<String,SortDirection>, Iterable<String>
Sort dictionary implementation.
| Nested classes/interfaces inherited from interface org.apache.pivot.collections.Dictionary |
org.apache.pivot.collections.Dictionary.Pair<K,V> |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TableView.SortDictionary
public TableView.SortDictionary()
get
public SortDirection get(String columnName)
- Specified by:
get in interface org.apache.pivot.collections.Dictionary<String,SortDirection>
put
public SortDirection put(String columnName,
SortDirection sortDirection)
- Specified by:
put in interface org.apache.pivot.collections.Dictionary<String,SortDirection>
remove
public SortDirection remove(String columnName)
- Specified by:
remove in interface org.apache.pivot.collections.Dictionary<String,SortDirection>
containsKey
public boolean containsKey(String columnName)
- Specified by:
containsKey in interface org.apache.pivot.collections.Dictionary<String,SortDirection>
isEmpty
public boolean isEmpty()
get
public org.apache.pivot.collections.Dictionary.Pair<String,SortDirection> get(int index)
getLength
public int getLength()
iterator
public Iterator<String> iterator()
- Specified by:
iterator in interface Iterable<String>