インタフェース MapObservable<K,​V>

型パラメータ:
K - Key Type
V - Value Type
すべてのスーパーインタフェース:
Observable<java.util.Map<K,​V>>
既知のサブインタフェースのリスト:
MapProperty<K,​V>

public interface MapObservable<K,​V>
extends Observable<java.util.Map<K,​V>>
Map value Observer.
関連項目:
Observable, Map
  • メソッドの詳細

    • computeContainsKey

      default BooleanCompution computeContainsKey​(java.lang.Object key)
      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

      default BooleanCompution computeNotContainsKey​(java.lang.Object key)
      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

      default BooleanCompution computeIsEmpty()
      Returns BooleanCompution of Map#isEmpty() is true.
      戻り値:
      BooleanCompution of Map#isEmpty() is true
      関連項目:
      Map.isEmpty(), BooleanCompution
    • computeIsNotEmpty

      default BooleanCompution computeIsNotEmpty()
      Returns BooleanCompution of Map#isEmpty() is false.
      戻り値:
      BooleanCompution of Map#isEmpty() is false
      関連項目:
      Map.isEmpty(), BooleanCompution
    • computeKeySet

      default SetCompution<K> computeKeySet()
      Returns SetCompution of Map#keySet().
      戻り値:
      SetCompution of Map#keySet()
      関連項目:
      Map.keySet(), SetCompution
    • computeSize

      default IntegerCompution computeSize()
      Returns IntegerCompution of Map#size().
      戻り値:
      IntegerCompution of Map#size()
      関連項目:
      Map.size(), IntegerCompution
    • waitUntilContainsKeyAndGet

      default V waitUntilContainsKeyAndGet​(java.lang.Object key) throws java.lang.InterruptedException
      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.TimeoutException
      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
      timeout - the maximum time to wait
      unit - the time unit of the timeout argument
      戻り値:
      Map#get(Object)
      例外:
      java.lang.InterruptedException - if interrupted while waiting
      java.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.TimeoutException
      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
      p - the TimeoutProperty
      戻り値:
      Map#get(Object)
      例外:
      java.lang.InterruptedException - if interrupted while waiting
      java.util.concurrent.TimeoutException - if the wait timed out
      関連項目:
      Map.containsKey(Object)
    • waitUntilNotContainsKey

      default void waitUntilNotContainsKey​(java.lang.Object key) throws java.lang.InterruptedException
      Waiting 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.TimeoutException
      Waiting 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
      timeout - the maximum time to wait
      unit - the time unit of the timeout argument
      例外:
      java.lang.InterruptedException - if interrupted while waiting
      java.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.TimeoutException
      Waiting 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
      p - the TimeoutProperty
      例外:
      java.lang.InterruptedException - if interrupted while waiting
      java.util.concurrent.TimeoutException - if the wait timed out
      関連項目:
      Map.containsKey(Object)
    • waitUntilIsEmpty

      default void waitUntilIsEmpty() throws java.lang.InterruptedException
      Waiting 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.TimeoutException
      Waiting until Map#isEmpty() is true.

      This is blocking method.
      If already empty, pass through immediately.

      パラメータ:
      timeout - the maximum time to wait
      unit - the time unit of the timeout argument
      例外:
      java.lang.InterruptedException - if interrupted while waiting
      java.util.concurrent.TimeoutException - if the wait timed out
      関連項目:
      Map.isEmpty()
    • waitUntilIsEmpty

      default void waitUntilIsEmpty​(TimeoutGettable p) throws java.lang.InterruptedException, java.util.concurrent.TimeoutException
      Waiting until Map#isEmpty() is true.

      This is blocking method.
      If already empty, pass through immediately.

      パラメータ:
      p - the TimeoutProperty
      例外:
      java.lang.InterruptedException - if interrupted while waiting
      java.util.concurrent.TimeoutException - if the wait timed out
      関連項目:
      Map.isEmpty()
    • waitUntilIsNotEmpty

      default void waitUntilIsNotEmpty() throws java.lang.InterruptedException
      Waiting 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.TimeoutException
      Waiting until Map#isEmpty() is false.

      This is blocking method.
      If already NOT empty, pass through immediately.

      パラメータ:
      timeout - the maximum time to wait
      unit - the time unit of the timeout argument
      例外:
      java.lang.InterruptedException - if interrupted while waiting
      java.util.concurrent.TimeoutException - if the wait timed out
      関連項目:
      Map.isEmpty()
    • waitUntilIsNotEmpty

      default void waitUntilIsNotEmpty​(TimeoutGettable p) throws java.lang.InterruptedException, java.util.concurrent.TimeoutException
      Waiting 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 waiting
      java.util.concurrent.TimeoutException - if the wait timed out
      関連項目:
      Map.isEmpty()