|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.Vector<JSON._Value>
org.opengts.util.JSON._Array
public static class JSON._Array
JSON Array
| Field Summary |
|---|
| Fields inherited from class java.util.Vector |
|---|
capacityIncrement, elementCount, elementData |
| Fields inherited from class java.util.AbstractList |
|---|
modCount |
| Constructor Summary | |
|---|---|
JSON._Array()
Constructor |
|
JSON._Array(boolean... array)
Constructor An Array of Booleans |
|
JSON._Array(double... array)
Constructor An Array of Doubles |
|
JSON._Array(JSON._Array... array)
Constructor An Array of other Arrays |
|
JSON._Array(JSON._Object... array)
Constructor An Array of Objects |
|
JSON._Array(JSON._Value... array)
Constructor An Array of other Values |
|
JSON._Array(long... array)
Constructor An Array of Longs |
|
JSON._Array(java.lang.String... array)
Constructor An Array of Strings |
|
| Method Summary | |
|---|---|
boolean |
add(JSON._Value value)
Add a JSON._Value to this JSON._Array |
boolean |
addValue(boolean value)
Add a Boolean to this JSON._Array |
boolean |
addValue(double value)
Add a Double to this JSON._Array |
boolean |
addValue(JSON._Array value)
Add a JSON._Array to this JSON._Array |
boolean |
addValue(JSON._Object value)
Add a JSON._Object to this JSON._Array |
boolean |
addValue(JSON._Value value)
Add a JSON._Value to this JSON._Array |
boolean |
addValue(long value)
Add a Long to this JSON._Array |
boolean |
addValue(java.lang.String value)
Add a String to this JSON._Array |
JSON._Value |
getValueAt(int ndx)
Returns the JSON._Value at the specified index |
JSON._Array |
setFormatIndent(boolean indent)
Set format indent state |
java.lang.String |
toString()
Returns a String representation of this instance |
java.lang.StringBuffer |
toStringBuffer(int prefix,
java.lang.StringBuffer sb)
Write a String representation of this instance to the StringBuffer |
| Methods inherited from class java.util.Vector |
|---|
add, addAll, addAll, addElement, capacity, clear, clone, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, equals, firstElement, get, hashCode, indexOf, indexOf, insertElementAt, isEmpty, lastElement, lastIndexOf, lastIndexOf, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, removeRange, retainAll, set, setElementAt, setSize, size, subList, toArray, toArray, trimToSize |
| Methods inherited from class java.util.AbstractList |
|---|
iterator, listIterator, listIterator |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.List |
|---|
iterator, listIterator, listIterator |
| Constructor Detail |
|---|
public JSON._Array()
public JSON._Array(JSON._Value... array)
public JSON._Array(java.lang.String... array)
public JSON._Array(long... array)
public JSON._Array(double... array)
public JSON._Array(boolean... array)
public JSON._Array(JSON._Object... array)
public JSON._Array(JSON._Array... array)
| Method Detail |
|---|
public boolean add(JSON._Value value)
add in interface java.util.Collection<JSON._Value>add in interface java.util.List<JSON._Value>add in class java.util.Vector<JSON._Value>public boolean addValue(JSON._Value value)
public boolean addValue(java.lang.String value)
public boolean addValue(long value)
public boolean addValue(double value)
public boolean addValue(boolean value)
public boolean addValue(JSON._Object value)
public boolean addValue(JSON._Array value)
public JSON._Value getValueAt(int ndx)
public JSON._Array setFormatIndent(boolean indent)
public java.lang.StringBuffer toStringBuffer(int prefix,
java.lang.StringBuffer sb)
public java.lang.String toString()
toString in class java.util.Vector<JSON._Value>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||