org.jdmp.core.util
Class DefaultObservableMap<V>
java.lang.Object
javax.swing.AbstractListModel
org.jdmp.core.util.DefaultObservableMap<V>
- All Implemented Interfaces:
- Serializable, Iterable<V>, Map<Object,V>, ListModel, CoreObjectList<V>, ObservableMap<V>
public class DefaultObservableMap<V>
- extends AbstractListModel
- implements ObservableMap<V>
- See Also:
- Serialized Form
| Nested classes/interfaces inherited from interface java.util.Map |
Map.Entry<K,V> |
DefaultObservableMap
public DefaultObservableMap()
getElementAt
public V getElementAt(int index)
- Specified by:
getElementAt in interface ListModel- Specified by:
getElementAt in interface CoreObjectList<V>
get
public V get(Object key)
- Specified by:
get in interface Map<Object,V>
indexOf
public int indexOf(V value)
- Specified by:
indexOf in interface CoreObjectList<V>
getSize
public int getSize()
- Specified by:
getSize in interface ListModel
put
public V put(Object key,
V value)
- Specified by:
put in interface Map<Object,V>
remove
public V remove(Object key)
- Specified by:
remove in interface Map<Object,V>
fireContentsChanged
public void fireContentsChanged()
- Specified by:
fireContentsChanged in interface CoreObjectList<V>
iterator
public Iterator<V> iterator()
- Specified by:
iterator in interface Iterable<V>
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty in interface Map<Object,V>- Specified by:
isEmpty in interface CoreObjectList<V>
clear
public void clear()
- Specified by:
clear in interface Map<Object,V>- Specified by:
clear in interface CoreObjectList<V>
toCollection
public Collection<V> toCollection()
- Specified by:
toCollection in interface CoreObjectList<V>
keySet
public Set<Object> keySet()
- Specified by:
keySet in interface Map<Object,V>
containsKey
public boolean containsKey(Object key)
- Specified by:
containsKey in interface Map<Object,V>
containsValue
public boolean containsValue(Object value)
- Specified by:
containsValue in interface Map<Object,V>
entrySet
public Set<Map.Entry<Object,V>> entrySet()
- Specified by:
entrySet in interface Map<Object,V>
putAll
public void putAll(Map<? extends Object,? extends V> m)
- Specified by:
putAll in interface Map<Object,V>
size
public int size()
- Specified by:
size in interface Map<Object,V>
values
public Collection<V> values()
- Specified by:
values in interface Map<Object,V>
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2009. All Rights Reserved.