E - Type of value held in the list.public class JsonStringArrayList<E> extends ArrayList<E>
ArrayList that toString() method returns the serialized JSON
version of its members (or throws an exception if they can't be converted to JSON).modCount| Constructor and Description |
|---|
JsonStringArrayList() |
JsonStringArrayList(int size) |
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSizeequals, hashCodecontainsAllfinalize, getClass, notify, notifyAll, wait, wait, waitcontainsAll, equals, hashCodeparallelStream, streampublic JsonStringArrayList()
public JsonStringArrayList(int size)
public final String toString()
toString in class AbstractCollection<E>Copyright © 2024 The Apache Software Foundation. All rights reserved.