package concurrency.buffer;

public interface Buffer {
    public void put(Object o)
       throws InterruptedException; //put object into buffer
    public Object get()
       throws InterruptedException;       //get an object from buffer
}