rebuild.comp.java.nio
Class ShortBuffer

java.lang.Object
  extended by rebuild.comp.java.nio.Buffer
      extended by rebuild.comp.java.nio.ShortBuffer

public abstract class ShortBuffer
extends Buffer

A skimmed down version of the ShortBuffer class for use in versions lower then 5.0. Based off J2SE java.nio.ShortBuffer class but no source code used for it.

Since:
BBX 1.2.0

Constructor Summary
ShortBuffer()
           
 
Method Summary
abstract  short get()
          Relative get method.
abstract  ShortBuffer put(short s)
          Writes the given short into this buffer at the current position, and then increments the position.
 
Methods inherited from class rebuild.comp.java.nio.Buffer
capacity, clear, flip, hasRemaining, limit, limit, position, position, remaining, rewind
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShortBuffer

public ShortBuffer()
Method Detail

put

public abstract ShortBuffer put(short s)
Writes the given short into this buffer at the current position, and then increments the position.

Parameters:
s - The short to be written.
Returns:
This buffer.

get

public abstract short get()
Relative get method. Reads the short at this buffer's current position, and then increments the position.

Returns:
The short at the buffer's current position.