krati.array
Interface DynamicArray

All Superinterfaces:
Array
All Known Implementing Classes:
DynamicDataArray, DynamicIntArray, DynamicLongArray, DynamicShortArray, MemoryIntArray, MemoryLongArray, MemoryShortArray

public interface DynamicArray
extends Array

Dynamic Array

Author:
jwu

Method Summary
 void expandCapacity(int index)
          Expands the capacity of array to accommodate a given index.
 
Methods inherited from interface krati.array.Array
clear, hasIndex, length
 

Method Detail

expandCapacity

void expandCapacity(int index)
                    throws Exception
Expands the capacity of array to accommodate a given index.

Parameters:
index - an index in the array
Throws:
Exception


Copyright © 2011. All Rights Reserved.