T
- Type of element stored in model.@Deprecated public class NamedItemModel<T> extends AbstractMap<String,T> implements ListModel<Map.Entry<String,T>>, SortedMap<String,T>
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
NamedItemModel()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
addListDataListener(ListDataListener pListener)
Deprecated.
|
void |
addUpdateListener(UpdateListener<? super T> pListener)
Deprecated.
|
Comparator<? super String> |
comparator()
Deprecated.
|
TreeEntrySet<String,T> |
entrySet()
Deprecated.
|
String |
firstKey()
Deprecated.
|
Map.Entry<String,T> |
getElementAt(int pIdx)
Deprecated.
|
int |
getSize()
Deprecated.
|
NamedItemModel<T> |
headMap(String pToKey)
Deprecated.
|
NavigableSet<String> |
keySet()
Deprecated.
|
String |
lastKey()
Deprecated.
|
T |
put(String pKey,
T pVal)
Deprecated.
Add/replace element and fire events.
|
void |
removeListDataListener(ListDataListener pListener)
Deprecated.
|
void |
removeUpdateListener(UpdateListener<? super T> pListener)
Deprecated.
|
void |
renameKey(String pOldVal,
String pNewVal)
Deprecated.
Update entry key.
|
NamedItemModel<T> |
subMap(String pFromKey,
String pToKey)
Deprecated.
|
NamedItemModel<T> |
tailMap(String pFromKey)
Deprecated.
|
clear, clone, containsKey, containsValue, equals, get, hashCode, isEmpty, putAll, remove, size, toString, values
finalize, getClass, notify, notifyAll, wait, wait, wait
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, equals, forEach, get, getOrDefault, hashCode, isEmpty, merge, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size
public void addListDataListener(ListDataListener pListener)
addListDataListener
in interface ListModel<Map.Entry<String,T>>
public void removeListDataListener(ListDataListener pListener)
removeListDataListener
in interface ListModel<Map.Entry<String,T>>
public void addUpdateListener(UpdateListener<? super T> pListener)
public void removeUpdateListener(UpdateListener<? super T> pListener)
public void renameKey(String pOldVal, String pNewVal)
pOldVal
- Original key value.pNewVal
- New key value.NoSuchElementException
- If new key exists or old key does not.public TreeEntrySet<String,T> entrySet()
public Comparator<? super String> comparator()
comparator
in interface SortedMap<String,T>
public String firstKey()
public NavigableSet<String> keySet()
public NamedItemModel<T> headMap(String pToKey)
public NamedItemModel<T> tailMap(String pFromKey)
public NamedItemModel<T> subMap(String pFromKey, String pToKey)
public Map.Entry<String,T> getElementAt(int pIdx)
getElementAt
in interface ListModel<Map.Entry<String,T>>
Copyright © 2023. All rights reserved.