Buffer - public void set( int value ); // place value into...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
// Fig. 16.4: Buffer.java // Buffer interface specifies methods called by Producer and Consumer. / public interface Buffer {
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: public void set( int value ); // place value into Buffer public int get(); // return value from Buffer }...
View Full Document

This note was uploaded on 07/14/2011 for the course COP 4610L taught by Professor Staff during the Spring '09 term at University of Central Florida.

Ask a homework question - tutors are online