インタフェース MapObservable<K,V>
- 型パラメータ:
K
- Key TypeV
- Value Type
- すべてのスーパーインタフェース:
Observable<java.util.Map<K,V>>
- 既知のサブインタフェースのリスト:
MapProperty<K,V>
public interface MapObservable<K,V> extends Observable<java.util.Map<K,V>>
- 関連項目:
Observable
,Map
-
メソッドの概要
修飾子とタイプ メソッド 説明 default BooleanCompution
computeContainsKey(java.lang.Object key)
Returns BooleanCompution of Map#containsKey(Object) is true.default BooleanCompution
computeIsEmpty()
Returns BooleanCompution of Map#isEmpty() is true.default BooleanCompution
computeIsNotEmpty()
Returns BooleanCompution of Map#isEmpty() is false.default SetCompution<K>
computeKeySet()
Returns SetCompution of Map#keySet().default BooleanCompution
computeNotContainsKey(java.lang.Object key)
Returns BooleanCompution of Map#containsKey(Object) is falsedefault IntegerCompution
computeSize()
Returns IntegerCompution of Map#size().default V
waitUntilContainsKeyAndGet(java.lang.Object key)
Waiting until Map#containsKey(Object) is true, and return value.default V
waitUntilContainsKeyAndGet(java.lang.Object key, long timeout, java.util.concurrent.TimeUnit unit)
Waiting until Map#containsKey(Object) is true, and return value.default V
waitUntilContainsKeyAndGet(java.lang.Object key, TimeoutGettable p)
Waiting until Map#containsKey(Object) is true, and return value.default void
waitUntilIsEmpty()
Waiting until Map#isEmpty() is true.default void
waitUntilIsEmpty(long timeout, java.util.concurrent.TimeUnit unit)
Waiting until Map#isEmpty() is true.default void
waitUntilIsEmpty(TimeoutGettable p)
Waiting until Map#isEmpty() is true.default void
waitUntilIsNotEmpty()
Waiting until Map#isEmpty() is false.default void
waitUntilIsNotEmpty(long timeout, java.util.concurrent.TimeUnit unit)
Waiting until Map#isEmpty() is false.default void
waitUntilIsNotEmpty(TimeoutGettable p)
Waiting until Map#isEmpty() is false.default void
waitUntilNotContainsKey(java.lang.Object key)
Waiting until Map#containsKey(Object) is false.default void
waitUntilNotContainsKey(java.lang.Object key, long timeout, java.util.concurrent.TimeUnit unit)
Waiting until Map#containsKey(Object) is false.default void
waitUntilNotContainsKey(java.lang.Object key, TimeoutGettable p)
Waiting until Map#containsKey(Object) is false.インタフェースから継承されたメソッド com.shimizukenta.secs.local.property.Observable
addChangeListener, computeToString, removeChangeListener
-
メソッドの詳細
-
computeContainsKey
Returns BooleanCompution of Map#containsKey(Object) is true.- パラメータ:
key
- key whose presence in this map is to be tested- 戻り値:
- BooleanCompution of Map#containsKey(Object) is true
- 関連項目:
Map.containsKey(Object)
,BooleanCompution
-
computeNotContainsKey
Returns BooleanCompution of Map#containsKey(Object) is false- パラメータ:
key
- key whose presence in this map is to be tested- 戻り値:
- BooleanCompution of Map#containsKey(Object) is false
- 関連項目:
Map.containsKey(Object)
,BooleanCompution
-
computeIsEmpty
Returns BooleanCompution of Map#isEmpty() is true.- 戻り値:
- BooleanCompution of Map#isEmpty() is true
- 関連項目:
Map.isEmpty()
,BooleanCompution
-
computeIsNotEmpty
Returns BooleanCompution of Map#isEmpty() is false.- 戻り値:
- BooleanCompution of Map#isEmpty() is false
- 関連項目:
Map.isEmpty()
,BooleanCompution
-
computeKeySet
Returns SetCompution of Map#keySet().- 戻り値:
- SetCompution of Map#keySet()
- 関連項目:
Map.keySet()
,SetCompution
-
computeSize
Returns IntegerCompution of Map#size().- 戻り値:
- IntegerCompution of Map#size()
- 関連項目:
Map.size()
,IntegerCompution
-
waitUntilContainsKeyAndGet
Waiting until Map#containsKey(Object) is true, and return value.This is blocking method.
If already Map#containsKey(Object) is true, return value immediately.
- パラメータ:
key
- key whose presence in this map is to be tested- 戻り値:
- Map#get(Object)
- 例外:
java.lang.InterruptedException
- if interrupted while waiting- 関連項目:
Map.containsKey(Object)
-
waitUntilContainsKeyAndGet
default V waitUntilContainsKeyAndGet(java.lang.Object key, long timeout, java.util.concurrent.TimeUnit unit) throws java.lang.InterruptedException, java.util.concurrent.TimeoutExceptionWaiting until Map#containsKey(Object) is true, and return value.This is blocking method.
If already Map#containsKey(Object) is true, return value immediately.
- パラメータ:
key
- key whose presence in this map is to be testedtimeout
- the maximum time to waitunit
- the time unit of the timeout argument- 戻り値:
- Map#get(Object)
- 例外:
java.lang.InterruptedException
- if interrupted while waitingjava.util.concurrent.TimeoutException
- if the wait timed out- 関連項目:
Map.containsKey(Object)
-
waitUntilContainsKeyAndGet
default V waitUntilContainsKeyAndGet(java.lang.Object key, TimeoutGettable p) throws java.lang.InterruptedException, java.util.concurrent.TimeoutExceptionWaiting until Map#containsKey(Object) is true, and return value.This is blocking method.
If already Map#containsKey(Object) is true, return value immediately.
- パラメータ:
key
- key whose presence in this map is to be testedp
- the TimeoutProperty- 戻り値:
- Map#get(Object)
- 例外:
java.lang.InterruptedException
- if interrupted while waitingjava.util.concurrent.TimeoutException
- if the wait timed out- 関連項目:
Map.containsKey(Object)
-
waitUntilNotContainsKey
default void waitUntilNotContainsKey(java.lang.Object key) throws java.lang.InterruptedExceptionWaiting until Map#containsKey(Object) is false.This is blocking method.
If already Map#containsKey(Object) is false, pass through immediately.
- パラメータ:
key
- key whose presence in this map is to be tested- 例外:
java.lang.InterruptedException
- if interrupted while waiting- 関連項目:
Map.containsKey(Object)
-
waitUntilNotContainsKey
default void waitUntilNotContainsKey(java.lang.Object key, long timeout, java.util.concurrent.TimeUnit unit) throws java.lang.InterruptedException, java.util.concurrent.TimeoutExceptionWaiting until Map#containsKey(Object) is false.This is blocking method.
If already Map#containsKey(Object) is false, pass through immediately.
- パラメータ:
key
- key whose presence in this map is to be testedtimeout
- the maximum time to waitunit
- the time unit of the timeout argument- 例外:
java.lang.InterruptedException
- if interrupted while waitingjava.util.concurrent.TimeoutException
- if the wait timed out- 関連項目:
Map.containsKey(Object)
-
waitUntilNotContainsKey
default void waitUntilNotContainsKey(java.lang.Object key, TimeoutGettable p) throws java.lang.InterruptedException, java.util.concurrent.TimeoutExceptionWaiting until Map#containsKey(Object) is false.This is blocking method.
If already Map#containsKey(Object) is false, pass through immediately.
- パラメータ:
key
- key whose presence in this map is to be testedp
- the TimeoutProperty- 例外:
java.lang.InterruptedException
- if interrupted while waitingjava.util.concurrent.TimeoutException
- if the wait timed out- 関連項目:
Map.containsKey(Object)
-
waitUntilIsEmpty
default void waitUntilIsEmpty() throws java.lang.InterruptedExceptionWaiting until Map#isEmpty() is true.This is blocking method.
If already empty, pass through immediately.
- 例外:
java.lang.InterruptedException
- if interrupted while waiting- 関連項目:
Map.isEmpty()
-
waitUntilIsEmpty
default void waitUntilIsEmpty(long timeout, java.util.concurrent.TimeUnit unit) throws java.lang.InterruptedException, java.util.concurrent.TimeoutExceptionWaiting until Map#isEmpty() is true.This is blocking method.
If already empty, pass through immediately.
- パラメータ:
timeout
- the maximum time to waitunit
- the time unit of the timeout argument- 例外:
java.lang.InterruptedException
- if interrupted while waitingjava.util.concurrent.TimeoutException
- if the wait timed out- 関連項目:
Map.isEmpty()
-
waitUntilIsEmpty
default void waitUntilIsEmpty(TimeoutGettable p) throws java.lang.InterruptedException, java.util.concurrent.TimeoutExceptionWaiting until Map#isEmpty() is true.This is blocking method.
If already empty, pass through immediately.
- パラメータ:
p
- the TimeoutProperty- 例外:
java.lang.InterruptedException
- if interrupted while waitingjava.util.concurrent.TimeoutException
- if the wait timed out- 関連項目:
Map.isEmpty()
-
waitUntilIsNotEmpty
default void waitUntilIsNotEmpty() throws java.lang.InterruptedExceptionWaiting until Map#isEmpty() is false.This is blocking method.
If already NOT empty, pass through immediately.
- 例外:
java.lang.InterruptedException
- if interrupted while waiting- 関連項目:
Map.isEmpty()
-
waitUntilIsNotEmpty
default void waitUntilIsNotEmpty(long timeout, java.util.concurrent.TimeUnit unit) throws java.lang.InterruptedException, java.util.concurrent.TimeoutExceptionWaiting until Map#isEmpty() is false.This is blocking method.
If already NOT empty, pass through immediately.
- パラメータ:
timeout
- the maximum time to waitunit
- the time unit of the timeout argument- 例外:
java.lang.InterruptedException
- if interrupted while waitingjava.util.concurrent.TimeoutException
- if the wait timed out- 関連項目:
Map.isEmpty()
-
waitUntilIsNotEmpty
default void waitUntilIsNotEmpty(TimeoutGettable p) throws java.lang.InterruptedException, java.util.concurrent.TimeoutExceptionWaiting until Map#isEmpty() is false.This is blocking method.
If already NOT empty, pass through immediately.
- パラメータ:
p
- the TimeoutProperty- 例外:
java.lang.InterruptedException
- if interrupted while waitingjava.util.concurrent.TimeoutException
- if the wait timed out- 関連項目:
Map.isEmpty()
-