private static int [ ] growArray ( int [ ] array , float growFactor ) { int currentSize = array . length ; int newArray [ ] = new int [ ( int ) ( currentSize * growFactor ) ] ; System . arraycopy ( array , 0 , newArray , 0 , currentSize ) ; return newArray ; }
Not doing it right now because of the complications of the interface .