Save This Page
Home » pentaho-reporting-engine-classic-0.8.10 » org » jfree » report » util » [javadoc | source]
org.jfree.report.util
public class: IntList [javadoc | source]
java.lang.Object
   org.jfree.report.util.IntList
A Array-List for integer objects. Ints can be added to the list and will be stored in an int-array.

Using this list for storing ints is much faster than creating java.lang.Integer objects and storing them in an ArrayList.

This list is not synchronized and does not implement the full List interface. In fact, this list can only be used to add new values or to clear the complete list.

Constructor:
 public IntList(int capacity) 
Method from org.jfree.report.util.IntList Summary:
add,   clear,   get,   size,   toArray
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.jfree.report.util.IntList Detail:
 public  void add(int value) 
    Adds the given int value to the list.
 public  void clear() 
    Clears the list.
 public int get(int index) 
    Returns the value at the given index.
 public int size() 
    Returns the number of elements in this list.
 public int[] toArray() 
    Copys the list contents into a new array.