|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.codehaus.staxmate.util.ArrayMaker
public class ArrayMaker
Simple helper class used to create compact array presentations where the eventual size is not initially known.
| Constructor Summary | |
|---|---|
ArrayMaker()
|
|
| Method Summary | |
|---|---|
void |
addEntry(int index,
java.lang.Object value)
|
java.lang.Object[] |
toArray(java.lang.Object[] result)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ArrayMaker()
| Method Detail |
|---|
public void addEntry(int index,
java.lang.Object value)
public java.lang.Object[] toArray(java.lang.Object[] result)
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.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||