org.sc3d.apt.sss.v3
Class IntBuffer

java.lang.Object
  extended by org.sc3d.apt.sss.v3.IntBuffer

public class IntBuffer
extends java.lang.Object

Represents an auto-extending buffer for integers.


Constructor Summary
IntBuffer()
          Constructs an empty IntBuffer.
 
Method Summary
 IntBuffer append(int n)
          Appends 'n' to this IntBuffer.
 int[] toArray()
          Returns the contens of this IntBuffer in a fresh array.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IntBuffer

public IntBuffer()
Constructs an empty IntBuffer.

Method Detail

append

public IntBuffer append(int n)
Appends 'n' to this IntBuffer. For convenience, this method returns 'this'.


toArray

public int[] toArray()
Returns the contens of this IntBuffer in a fresh array.