public String toString(){
// we could make this more effecient by using a StringBuffer.
// See alternative version
String result = "size: " + iSize + ", elements: [";
for(int i = 0; i < iSize - 1; i++)
result += iValues + ", ";
if(iSize > 0 )
result += iValues[iSize - 1];
result += "]";
return result;