@ThreadSafe public class ConfigList<V> extends Object implements List<V>
| Modifier | Constructor and Description |
|---|---|
protected |
ConfigList(com.google.gson.JsonArray handle)
Creates a new linked list for the JSON config serializable
|
protected |
ConfigList(com.google.gson.JsonArray handle,
Collection<V> c)
Creates a new linked list by transferring elements from an existing collection
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(int index,
V element)
Not implemented
|
boolean |
add(V element) |
boolean |
addAll(Collection<? extends V> coll) |
boolean |
addAll(int arg0,
Collection<? extends V> arg1)
Not implemented
|
void |
clear() |
boolean |
contains(Object o) |
boolean |
containsAll(Collection<?> c) |
V |
get(int index) |
int |
indexOf(Object o) |
boolean |
isEmpty() |
Iterator<V> |
iterator() |
int |
lastIndexOf(Object o) |
ListIterator<V> |
listIterator() |
ListIterator<V> |
listIterator(int index) |
V |
remove(int index) |
boolean |
remove(Object element) |
boolean |
removeAll(Collection<?> coll) |
boolean |
retainAll(Collection<?> arg0)
Not implemented
|
V |
set(int index,
V element) |
int |
size() |
List<V> |
subList(int arg0,
int arg1)
Not implemented
|
V[] |
toArray()
Not implemented
|
<T> T[] |
toArray(T[] arg0)
Not implemented
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitequals, hashCode, replaceAll, sort, spliteratorparallelStream, removeIf, streamprotected ConfigList(com.google.gson.JsonArray handle)
handle - the array handler for the listprotected ConfigList(com.google.gson.JsonArray handle, Collection<V> c)
handle - the array handler for the new listc - the initializing elementspublic int size()
public boolean isEmpty()
public boolean addAll(Collection<? extends V> coll)
public int lastIndexOf(Object o)
lastIndexOf in interface List<V>public ListIterator<V> listIterator()
listIterator in interface List<V>public ListIterator<V> listIterator(int index)
listIterator in interface List<V>public boolean containsAll(Collection<?> c)
containsAll in interface Collection<V>containsAll in interface List<V>public boolean removeAll(Collection<?> coll)
public void clear()
public boolean addAll(int arg0, Collection<? extends V> arg1)
public boolean retainAll(Collection<?> arg0)
Copyright © 2016. All rights reserved.