public abstract class AbstractWritableMapImpl<K,V> extends WritablePropertyBase implements WritableMap<K,V>
adjusters, vetoslisteners, parentProperty| Constructor and Description |
|---|
AbstractWritableMapImpl(String name,
PropertyType keyType,
PropertyType valueType) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsKey(K k) |
protected abstract boolean |
containsKeyImpl(K k) |
WritableList<MapEntry<K,V>> |
entrySet() |
protected abstract Set<Map.Entry<K,V>> |
entrySetImpl() |
Set<MapEntry<K,V>> |
findAll(Predicate<MapEntry<K,V>> a) |
V |
get(K index) |
protected abstract V |
getImpl(K k) |
boolean |
isWritable() |
Iterator<MapEntry<K,V>> |
iterator() |
WritableList<K> |
keySet() |
V |
put(K k,
V v) |
protected abstract V |
putImpl(K k,
V v) |
ObservableMap<K,V> |
readOnly() |
V |
remove(K k) |
void |
removeAll() |
void |
removeAll(Predicate<MapEntry<K,V>> a) |
protected abstract V |
removeImpl(K k) |
int |
size() |
protected abstract int |
sizeImpl() |
Map<K,V> |
toMap() |
String |
toString() |
WritableList<V> |
values() |
adjusters, vetoscreateListeners, events, fullPropertyName, parentProperty, propagateEvents, propertyName, propertyType, userObjectsclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitvetosstreamforEach, spliteratoradjustersevents, getChildProperty, onChange, onChange, onChangeAndInit, onChangeAndInit, onPropagatedChange, onPropagatedChange, onPropagatedChangeAndInit, onPropagatedChangeAndInit, propertyName, propertyType, userObjects, with, withpublic AbstractWritableMapImpl(String name, PropertyType keyType, PropertyType valueType)
public boolean containsKey(K k)
containsKey in interface ObservableMap<K,V>public void removeAll()
removeAll in interface WritableMap<K,V>public void removeAll(Predicate<MapEntry<K,V>> a)
removeAll in interface WritableMap<K,V>public WritableList<V> values()
values in interface ObservableMap<K,V>values in interface WritableMap<K,V>public ObservableMap<K,V> readOnly()
protected abstract boolean containsKeyImpl(K k)
protected abstract int sizeImpl()
public int size()
size in interface ObservableMap<K,V>public WritableList<K> keySet()
keySet in interface ObservableMap<K,V>public WritableList<MapEntry<K,V>> entrySet()
entrySet in interface ObservableMap<K,V>public Set<MapEntry<K,V>> findAll(Predicate<MapEntry<K,V>> a)
findAll in interface ObservableMap<K,V>public boolean isWritable()
isWritable in interface Propertypublic String toString()
toString in class PropertyBaseCopyright © 2022 vpc open source initiative. All rights reserved.