ByteBuffer is one of the sub class of abstract class Buffer in the "nio"
Buffer class has subclasses for each non-boolean primitive type:
If we compare these subclasses of Buffer, we will find them very similar.
The ByteBuffer class provides two more capabilities that makes it more general than other subclasses of Buffer.
These are methods absolute and relative get() and put() methods and methods for creating view buffers. This class is also important for the use of channels in java.
Posted on: October 6, 2010 If you enjoyed this post then why not add us on Google+? Add us to your Circles