Public Methods | |
BoundedBuffer (int b) | |
synchronized void | add (Object o) |
synchronized Object | take () |
synchronized boolean | isEmpty () |
BoundedBuffer (int b) | |
synchronized void | add (java.lang.Object o) |
synchronized java lang Object | take () |
synchronized boolean | isEmpty () |
BoundedBuffer (int b) | |
synchronized void | add () |
synchronized void | take () |
synchronized boolean | isEmpty () |
BoundedBuffer (int b) | |
synchronized void | add (java.lang.Object o) |
synchronized java lang Object | take () |
synchronized boolean | isEmpty () |
BoundedBuffer (int b) | |
synchronized void | add () |
synchronized void | take () |
synchronized boolean | isEmpty () |
BoundedBuffer (int b) | |
synchronized void | add (java.lang.Object o) |
synchronized java lang Object | take () |
synchronized boolean | isEmpty () |
BoundedBuffer (int b) | |
synchronized void | add (java.lang.Object o) |
synchronized java lang Object | take () |
synchronized boolean | isEmpty () |
BoundedBuffer (int b) | |
synchronized void | add (java.lang.Object o) |
synchronized java lang Object | take () |
synchronized boolean | isEmpty () |
BoundedBuffer (int b) | |
synchronized void | add () |
synchronized void | take () |
synchronized boolean | isEmpty () |
BoundedBuffer (int b) | |
synchronized void | add (java.lang.Object o) |
synchronized java lang Object | take () |
synchronized boolean | isEmpty () |
BoundedBuffer (int b) | |
synchronized void | add (java.lang.Object o) |
synchronized java lang Object | take () |
synchronized boolean | isEmpty () |
BoundedBuffer (int b) | |
synchronized void | add (java.lang.Object o) |
synchronized java lang Object | take () |
synchronized boolean | isEmpty () |
BoundedBuffer (int b) | |
synchronized void | add (java.lang.Object o) |
synchronized java lang Object | take () |
synchronized boolean | isEmpty () |
BoundedBuffer (int b) | |
synchronized void | add (Object o) |
synchronized Object | take () |
synchronized boolean | isEmpty () |
BoundedBuffer (int b) | |
synchronized void | add (java.lang.Object o) |
synchronized java lang Object | take () |
synchronized boolean | isEmpty () |
BoundedBuffer (int b) | |
synchronized void | add (java.lang.Object o) |
synchronized java lang Object | take () |
synchronized boolean | isEmpty () |
BoundedBuffer (int b) | |
synchronized void | add (java.lang.Object o) |
synchronized java lang Object | take () |
synchronized boolean | isEmpty () |
BoundedBuffer (int b) | |
synchronized void | add (java.lang.Object o) |
synchronized java lang Object | take () |
synchronized boolean | isEmpty () |
BoundedBuffer (int b) | |
synchronized void | add () |
synchronized void | take () |
synchronized boolean | isEmpty () |
BoundedBuffer (int b) | |
synchronized void | add (java.lang.Object o) |
synchronized java lang Object | take () |
synchronized boolean | isEmpty () |
BoundedBuffer (int b) | |
synchronized void | add () |
synchronized void | take () |
synchronized boolean | isEmpty () |
BoundedBuffer (int b) | |
synchronized void | add (java.lang.Object o) |
synchronized java lang Object | take () |
synchronized boolean | isEmpty () |
BoundedBuffer (int b) | |
synchronized void | add (java.lang.Object o) |
synchronized java lang Object | take () |
synchronized boolean | isEmpty () |
BoundedBuffer (int b) | |
synchronized void | add (java.lang.Object o) |
synchronized java lang Object | take () |
synchronized boolean | isEmpty () |
BoundedBuffer (int b) | |
synchronized void | add () |
synchronized void | take () |
synchronized boolean | isEmpty () |
BoundedBuffer (int b) | |
synchronized void | add (java.lang.Object o) |
synchronized java lang Object | take () |
synchronized boolean | isEmpty () |
BoundedBuffer (int b) | |
synchronized void | add (java.lang.Object o) |
synchronized java lang Object | take () |
synchronized boolean | isEmpty () |
BoundedBuffer (int b) | |
synchronized void | add (java.lang.Object o) |
synchronized java lang Object | take () |
synchronized boolean | isEmpty () |
BoundedBuffer (int b) | |
synchronized void | add (java.lang.Object o) |
synchronized java lang Object | take () |
synchronized boolean | isEmpty () |
Private Attributes | |
Object[] | buffer |
int | bound |
int | head |
int | tail |
java lang Object[] | buffer |
java lang Object[] | buffer |
java lang Object[] | buffer |
java lang Object[] | buffer |
java lang Object[] | buffer |
java lang Object[] | buffer |
java lang Object[] | buffer |
java lang Object[] | buffer |
java lang Object[] | buffer |
Object[] | buffer |
java lang Object[] | buffer |
java lang Object[] | buffer |
java lang Object[] | buffer |
java lang Object[] | buffer |
java lang Object[] | buffer |
java lang Object[] | buffer |
java lang Object[] | buffer |
java lang Object[] | buffer |
java lang Object[] | buffer |
java lang Object[] | buffer |
java lang Object[] | buffer |
java lang Object[] | buffer |
Definition at line 20 of file BanderaTutorial/BBuffer.java.
|
@assert PRE PositiveBound: (b > 0); Definition at line 28 of file BanderaTutorial/BBuffer.java. |
|
@assert PRE PositiveBound: (b > 0); Definition at line 28 of file BoundedBuffer/BBuffer.java. |
|
@assert POST AddToEnd: (head == 0) ? buffer[bound-1]==o : buffer[head-1]==o; @observable INVOKE Call(this); Definition at line 41 of file BoundedBuffer/BBuffer.java. |
|
@assert POST AddToEnd: (head == 0) ? buffer[bound-1]==o : buffer[head-1]==o; @observable INVOKE Call(this); Definition at line 41 of file BanderaTutorial/BBuffer.java. |
|
@observable RETURN ReturnTrue(this): ($ret == true); Definition at line 68 of file BoundedBuffer/BBuffer.java. |
|
@observable RETURN ReturnTrue(this): ($ret == true); Definition at line 68 of file BanderaTutorial/BBuffer.java. Referenced by take().
|
|
@observable RETURN Return(this); Definition at line 54 of file BoundedBuffer/BBuffer.java. |
|
@observable RETURN Return(this); Definition at line 54 of file BanderaTutorial/BBuffer.java. |