インタフェース BooleanObservable

すべてのスーパーインタフェース:
Observable<java.lang.Boolean>
既知のサブインタフェースのリスト:
BooleanCompution, BooleanProperty, ComparativeCompution, LogicalCompution

public interface BooleanObservable
extends Observable<java.lang.Boolean>
Boolean value Observer.
関連項目:
Boolean, Observable, LogicalCompution
  • メソッドの詳細

    • and

      default LogicalCompution and​(BooleanObservable observer)
      Returns (this && observer) LogicalCompution instance.
      パラメータ:
      observer - the BooleanObserver
      戻り値:
      (this && observer) LogicalCompution instance
      関連項目:
      and(boolean), LogicalCompution.and(BooleanObservable...)
    • or

      default LogicalCompution or​(BooleanObservable observer)
      Returns (this || observer) LogicalCompution instance.
      パラメータ:
      observer - the BooleanObserver
      戻り値:
      (this || observer) LogicalCompution instance
      関連項目:
      LogicalCompution.or(BooleanObservable...)
    • not

      default LogicalCompution not()
      Returns (! this) LogicalCompution instance.
      戻り値:
      (! this) LogicalCompution instance
      関連項目:
      LogicalCompution.not(BooleanObservable)
    • xor

      default LogicalCompution xor​(BooleanObservable observer)
      Returns (this ^ observer) LogicalCompution instance.
      パラメータ:
      observer - the BooleanObserver
      戻り値:
      (this ^ observer) LogicalCompution instance
      関連項目:
      xor(boolean), LogicalCompution.xor(BooleanObservable, BooleanObservable)
    • nand

      default LogicalCompution nand​(BooleanObservable observer)
      Returns (! (this && observer)) LogicalCompution instance.
      パラメータ:
      observer - the BooleanObserver
      戻り値:
      (! (this && observer)) LogicalCompution instance
      関連項目:
      LogicalCompution.nand(BooleanObservable...)
    • nor

      default LogicalCompution nor​(BooleanObservable observer)
      Returns (! (this || observer))aaa LogicalCompution instance.
      パラメータ:
      observer - the BooleanObserver
      戻り値:
      (! (this || observer)) LogicalCompution instance.
      関連項目:
      nor(boolean), LogicalCompution.nor(BooleanObservable...)
    • and

      default LogicalCompution and​(boolean f)
      Returns (this && f) LogicalCompution instance.
      パラメータ:
      f - the boolean
      戻り値:
      (this && f) LogicalCompution instance
      関連項目:
      and(BooleanObservable), and(BooleanObservable), LogicalCompution.and(BooleanObservable...)
    • or

      default LogicalCompution or​(boolean f)
      Returns (this || f) LogicalCompution instance.
      パラメータ:
      f - the boolean
      戻り値:
      (this || f) LogicalCompution instance
      関連項目:
      or(BooleanObservable), LogicalCompution.or(BooleanObservable...)
    • xor

      default LogicalCompution xor​(boolean f)
      Returns (this ^ f) LogicalCompution instance.
      パラメータ:
      f - the boolean value
      戻り値:
      (this ^ f) LogicalCompution instance
      関連項目:
      xor(BooleanObservable), LogicalCompution.xor(BooleanObservable, BooleanObservable)
    • nand

      default LogicalCompution nand​(boolean f)
      Returns (! (this && f)) LogicalCompution instance.
      パラメータ:
      f - the boolean value
      戻り値:
      (! (this && f)) LogicalCompution instance
      関連項目:
      nand(BooleanObservable), LogicalCompution.nand(BooleanObservable...)
    • nor

      default LogicalCompution nor​(boolean f)
      Returns (! (this || f)) LogicalCompution instance.
      パラメータ:
      f - the boolean value
      戻り値:
      (! (this || f)) LogicalCompution instance.
      関連項目:
      nor(BooleanObservable), LogicalCompution.nor(BooleanObservable...)
    • waitUntil

      void waitUntil​(boolean condition) throws java.lang.InterruptedException
      Waiting until (condtion == this.booleanValue()).

      This is blocking method.
      If already condition is true, pass through immediately.

      パラメータ:
      condition - the boolean value
      例外:
      java.lang.InterruptedException - if interrupted while waiting
      関連項目:
      waitUntil(boolean, long, TimeUnit)
    • waitUntil

      void waitUntil​(boolean condition, long timeout, java.util.concurrent.TimeUnit unit) throws java.lang.InterruptedException, java.util.concurrent.TimeoutException
      Waiting until (condition == this.booleanValue()).

      This is blocking method.
      If already condition is true, pass through immediately.

      パラメータ:
      condition - the boolean value
      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
      関連項目:
      waitUntil(boolean)
    • waitUntil

      default void waitUntil​(boolean condition, TimeoutGettable p) throws java.lang.InterruptedException, java.util.concurrent.TimeoutException
      Waiting until (condition == this.booleanValue()).

      This is blocking method.
      If already condition is true, pass through immediately.

      パラメータ:
      condition - the boolean value
      p - the TimeoutProperty
      例外:
      java.lang.InterruptedException - if interrupted while waiting
      java.util.concurrent.TimeoutException - if the wait timed out
      関連項目:
      waitUntil(boolean, long, TimeUnit)
    • waitUntilTrue

      default void waitUntilTrue() throws java.lang.InterruptedException
      Waiting until (this.booleanValue() == true).

      This is blocking method.
      If already this.value is true, pass through immediately.

      例外:
      java.lang.InterruptedException - if interrupted while waiting
      関連項目:
      #see #waitUntilFalse()
    • waitUntilTrue

      default void waitUntilTrue​(long timeout, java.util.concurrent.TimeUnit unit) throws java.lang.InterruptedException, java.util.concurrent.TimeoutException
      Waiting until (this.booleanValue() == true).

      This is blocking method.
      If already this.value is true, 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
      関連項目:
      waitUntil(boolean, long, TimeUnit), waitUntilFalse(long, TimeUnit)
    • waitUntilTrue

      default void waitUntilTrue​(TimeoutGettable p) throws java.lang.InterruptedException, java.util.concurrent.TimeoutException
      Waiting until (this.booleanValue() == true).

      This is blocking method.
      If already this.value is true, pass through immediately.

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

      default void waitUntilFalse() throws java.lang.InterruptedException
      Waiting until (this.booleanValue() == false).

      This is blocking method.
      If already this.value is false, pass through immediately.

      例外:
      java.lang.InterruptedException - if interrupted while waiting
      関連項目:
      waitUntil(boolean), waitUntilTrue()
    • waitUntilFalse

      default void waitUntilFalse​(long timeout, java.util.concurrent.TimeUnit unit) throws java.lang.InterruptedException, java.util.concurrent.TimeoutException
      Waiting until (this.booleanValue() == false).

      This is blocking method.
      If already this.value is false, 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
      関連項目:
      waitUntil(boolean, long, TimeUnit), waitUntilTrue(long, TimeUnit)
    • waitUntilFalse

      default void waitUntilFalse​(TimeoutGettable p) throws java.lang.InterruptedException, java.util.concurrent.TimeoutException
      Waiting until (this.booleanValue() == false).

      This is blocking method.
      If already this.value is false, pass through immediately.

      パラメータ:
      p - the TimeoutProperty
      例外:
      java.lang.InterruptedException - if interrupted while waiting
      java.util.concurrent.TimeoutException - if the wait timed out
      関連項目:
      waitUntil(boolean, TimeoutGettable), waitUntilTrue(TimeoutGettable)