public class MAKeyedReferenceImpl<K,T> extends MAReferenceImpl<T> implements MAKeyedReference<K,T>
| Modifier and Type | Field and Description |
|---|---|
protected K |
key |
protected KeyedValueListener<K,T> |
keyedValueListener |
valueListenercomparator, validator, value| Constructor and Description |
|---|
MAKeyedReferenceImpl() |
MAKeyedReferenceImpl(UnifiedComparator<? super K> keyComparator,
org.babyfish.lang.ReferenceComparator<? super T> comparator) |
| Modifier and Type | Method and Description |
|---|---|
void |
addKeyedValueListener(KeyedValueListener<? super K,? super T> listener) |
boolean |
containsKey(Object key) |
boolean |
containsKey(Object key,
boolean absolute) |
protected void |
executeModified(KeyedValueEvent<K,T> e) |
protected void |
executeModified(ValueEvent<T> e)
Deprecated.
|
protected void |
executeModifying(KeyedValueEvent<K,T> e) |
protected void |
executeModifying(ValueEvent<T> e)
Deprecated.
|
T |
get(boolean absolute) |
K |
getKey() |
K |
getKey(boolean absolute) |
UnifiedComparator<? super K> |
keyComparator() |
protected void |
onModified(KeyedValueEvent<K,T> e) |
protected void |
onModified(ValueEvent<T> e)
Deprecated.
|
protected void |
onModifying(KeyedValueEvent<K,T> e) |
protected void |
onModifying(ValueEvent<T> e)
Deprecated.
|
protected void |
raiseModified(KeyedValueEvent<K,T> e) |
protected void |
raiseModified(ValueEvent<T> e)
Deprecated.
|
protected void |
raiseModifying(KeyedValueEvent<K,T> e) |
protected void |
raiseModifying(ValueEvent<T> e)
Deprecated.
|
void |
removeKeyedValueListener(KeyedValueListener<? super K,? super T> listener) |
T |
set(K key,
T value) |
T |
set(T value) |
K |
setKey(K key) |
addValueListener, removeValueListener, setRawaddValidator, comparator, contains, contains, equals, get, hashCode, removeValidator, validateclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitequals, hashCodeaddValidator, comparator, contains, contains, get, removeValidator, validateaddValueListener, removeValueListenerprotected K key
protected transient KeyedValueListener<K,T> keyedValueListener
public MAKeyedReferenceImpl()
public MAKeyedReferenceImpl(UnifiedComparator<? super K> keyComparator, org.babyfish.lang.ReferenceComparator<? super T> comparator)
public void addKeyedValueListener(KeyedValueListener<? super K,? super T> listener)
addKeyedValueListener in interface KeyedValueModificationAware<K,T>public void removeKeyedValueListener(KeyedValueListener<? super K,? super T> listener)
removeKeyedValueListener in interface KeyedValueModificationAware<K,T>public UnifiedComparator<? super K> keyComparator()
keyComparator in interface KeyedReference<K,T>public boolean containsKey(Object key)
containsKey in interface KeyedReference<K,T>public boolean containsKey(Object key, boolean absolute)
containsKey in interface KeyedReference<K,T>public K getKey()
getKey in interface KeyedReference<K,T>public K getKey(boolean absolute)
getKey in interface KeyedReference<K,T>public T get(boolean absolute)
@Deprecated protected final void executeModifying(ValueEvent<T> e)
executeModifying in class MAReferenceImpl<T>@Deprecated protected final void executeModified(ValueEvent<T> e)
executeModified in class MAReferenceImpl<T>@Deprecated protected final void onModifying(ValueEvent<T> e) throws Throwable
onModifying in class MAReferenceImpl<T>Throwable@Deprecated protected final void onModified(ValueEvent<T> e) throws Throwable
onModified in class MAReferenceImpl<T>Throwable@Deprecated protected final void raiseModifying(ValueEvent<T> e) throws Throwable
raiseModifying in class MAReferenceImpl<T>Throwable@Deprecated protected final void raiseModified(ValueEvent<T> e) throws Throwable
raiseModified in class MAReferenceImpl<T>Throwableprotected void executeModifying(KeyedValueEvent<K,T> e)
protected void executeModified(KeyedValueEvent<K,T> e)
protected void onModifying(KeyedValueEvent<K,T> e) throws Throwable
Throwableprotected void onModified(KeyedValueEvent<K,T> e) throws Throwable
Throwableprotected void raiseModifying(KeyedValueEvent<K,T> e) throws Throwable
Throwableprotected void raiseModified(KeyedValueEvent<K,T> e) throws Throwable
ThrowableCopyright © 2016. All rights reserved.