org.json.simple
Class JSONArray

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<E>
          extended by java.util.ArrayList<java.lang.Object>
              extended by org.json.simple.JSONArray
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.lang.Iterable<java.lang.Object>, java.util.Collection<java.lang.Object>, java.util.List<java.lang.Object>, java.util.RandomAccess

public class JSONArray
extends java.util.ArrayList<java.lang.Object>

Author:
FangYidong
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
JSONArray()
           
JSONArray(java.util.Collection<java.lang.Object> arg0)
           
JSONArray(int initialCapacity)
           
 
Method Summary
 java.lang.String toString()
           
 void toString(java.lang.StringBuilder sb)
           
 
Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, removeRange, set, size, toArray, toArray, trimToSize
 
Methods inherited from class java.util.AbstractList
equals, hashCode, iterator, listIterator, listIterator, subList
 
Methods inherited from class java.util.AbstractCollection
containsAll, removeAll, retainAll
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
containsAll, equals, hashCode, iterator, listIterator, listIterator, removeAll, retainAll, subList
 

Constructor Detail

JSONArray

public JSONArray()

JSONArray

public JSONArray(java.util.Collection<java.lang.Object> arg0)

JSONArray

public JSONArray(int initialCapacity)
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.util.AbstractCollection<java.lang.Object>

toString

public void toString(java.lang.StringBuilder sb)