Interface BoundedBuffer { WHEN(count > MIN) ACCEPT int get() { ... } WHEN(count < MAX) ACCEPT int put() { ... } }