java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.ArrayList<E>
com.github.wnameless.json.flattener.JsonifyArrayList<E>
Type Parameters:
E - the type of elements
All Implemented Interfaces:
Serializable, Cloneable, Iterable<E>, Collection<E>, List<E>, RandomAccess

public class JsonifyArrayList<E> extends ArrayList<E>
JsonifyArrayList is simply a ArrayList but with an override jsonify toString method.
Author:
Wei-Ming Wu
See Also:
  • Constructor Details

    • JsonifyArrayList

      public JsonifyArrayList()
    • JsonifyArrayList

      public JsonifyArrayList(Collection<E> coll)
  • Method Details

    • setTranslator

      public void setTranslator(org.apache.commons.text.translate.CharSequenceTranslator translator)
    • toString

      public String toString(PrintMode printMode)
    • toString

      public String toString()
      Overrides:
      toString in class AbstractCollection<E>