Package org.apache.groovy.json.internal
Class ValueList
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractList<Object>
-
- org.apache.groovy.json.internal.ValueList
-
public class ValueList extends AbstractList<Object>
-
-
Field Summary
-
Fields inherited from class java.util.AbstractList
modCount
-
-
Constructor Summary
Constructors Constructor Description ValueList(boolean lazyChop)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
add(Object obj)
void
chopList()
void
clear()
Object
get(int index)
Iterator<Object>
iterator()
List<Object>
list()
int
size()
-
Methods inherited from class java.util.AbstractList
add, addAll, equals, hashCode, indexOf, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subList
-
Methods inherited from class java.util.AbstractCollection
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
Methods inherited from interface java.util.List
addAll, contains, containsAll, isEmpty, remove, removeAll, replaceAll, retainAll, sort, spliterator, toArray, toArray
-
-
-
-
Method Detail
-
get
public Object get(int index)
-
size
public int size()
- Specified by:
size
in interfaceCollection<Object>
- Specified by:
size
in interfaceList<Object>
- Specified by:
size
in classAbstractCollection<Object>
-
clear
public void clear()
- Specified by:
clear
in interfaceCollection<Object>
- Specified by:
clear
in interfaceList<Object>
- Overrides:
clear
in classAbstractList<Object>
-
add
public boolean add(Object obj)
- Specified by:
add
in interfaceCollection<Object>
- Specified by:
add
in interfaceList<Object>
- Overrides:
add
in classAbstractList<Object>
-
chopList
public void chopList()
-
-