{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

Buffer - public void set int value place value into Buffer...

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

{[ snackBarMessage ]}

Ask a homework question - tutors are online