Class ValueList

java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<Object>
org.apache.groovy.json.internal.ValueList
All Implemented Interfaces:
Iterable<Object>, Collection<Object>, List<Object>

public class ValueList extends AbstractList<Object>
List implementation that lazily converts overlay Value instances on access.
  • Constructor Details

    • ValueList

      public ValueList(boolean lazyChop)
      Creates a lazy list wrapper.
      Parameters:
      lazyChop - whether nested values should be chopped when touched
  • Method Details