Package skyview.util
Class SmartIntArray
- java.lang.Object
-
- skyview.util.SmartIntArray
-
public class SmartIntArray extends java.lang.Objectthis class allows you to build an array as you go.
-
-
Constructor Summary
Constructors Constructor Description SmartIntArray()SmartIntArray(int initialSize)SmartIntArray(int initialSize, int growthSize)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(int i)add element (integer) to array , check size and increase it if necessaryint[]toArray()trim array before return
-