Package org.codehaus.staxmate.util
Class ArrayMaker
java.lang.Object
org.codehaus.staxmate.util.ArrayMaker
Simple helper class used to create compact array presentations where
the eventual size is not initially known.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
mData
-
mLastIndex
private int mLastIndex
-
-
Constructor Details
-
ArrayMaker
public ArrayMaker()
-
-
Method Details
-
addEntry
-
toArray
- Parameters:
result
- Array in which results are to be added (if it's big enough); or if not big enough, one that indicates type of the array to create. If null, a generic Object[] is created, used and returned.
-