FileDocCategorySizeDatePackage
BufferSelf.javaAPI DocExample350Fri Jan 04 16:52:16 GMT 2002com.ronsoft.books.nio.buffers

BufferSelf

public class BufferSelf extends Object

Fields Summary
Constructors Summary
Methods Summary
public static voidmain(java.lang.String[] argv)

		CharBuffer cb = CharBuffer.allocate (100);

		cb.put ("This is a test String");

		cb.flip();

		// This throws an IllegalArgumentException
		cb.put (cb);

		System.out.println (cb);