public abstract class AbstractWritableLiMapImpl<K,V> extends AbstractProperty implements WritableLiMap<K,V>
adjusters, listeners, vetos| Constructor and Description |
|---|
AbstractWritableLiMapImpl(String name,
PropertyType keyType,
PropertyType valueType,
Function<V,K> valueToKey) |
| Modifier and Type | Method and Description |
|---|---|
V |
add(V v) |
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() |
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, listeners, name, type, userObjects, vetosclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitvetosstreamname, type, userObjectslistenersforEach, spliteratorpublic AbstractWritableLiMapImpl(String name, PropertyType keyType, PropertyType valueType, Function<V,K> valueToKey)
public void removeAll()
removeAll in interface WritableLiMap<K,V>public void removeAll(Predicate<MapEntry<K,V>> a)
removeAll in interface WritableLiMap<K,V>public WritableList<V> values()
values in interface ObservableMap<K,V>values in interface WritableLiMap<K,V>public ObservableMap<K,V> readOnly()
public boolean containsKey(K k)
containsKey in interface ObservableMap<K,V>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 AbstractPropertyCopyright © 2021 vpc open source initiative. All rights reserved.