@ThreadSafe public class ConfigSectionList<V> extends ConfigList<V>
write| Modifier | Constructor and Description |
|---|---|
protected |
ConfigSectionList(ConfigSection parent,
com.google.gson.JsonArray handle)
Creates a new section list in the config
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(V element) |
boolean |
addAll(Collection<? extends V> coll) |
void |
clear() |
protected ConfigSection |
parent() |
V |
remove(int index) |
boolean |
remove(Object element) |
boolean |
removeAll(Collection<?> coll) |
V |
set(int index,
V element) |
add, addAll, contains, containsAll, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, retainAll, size, subList, toArray, toArrayclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitequals, hashCode, replaceAll, sort, spliteratorparallelStream, removeIf, streamprotected ConfigSectionList(ConfigSection parent, com.google.gson.JsonArray handle)
parent - the parent configuration section, usually a Config.handle - the array handlerpublic boolean add(V element)
add in interface Collection<V>add in interface List<V>add in class ConfigList<V>public boolean addAll(Collection<? extends V> coll)
addAll in interface Collection<V>addAll in interface List<V>addAll in class ConfigList<V>public boolean remove(Object element)
remove in interface Collection<V>remove in interface List<V>remove in class ConfigList<V>public boolean removeAll(Collection<?> coll)
removeAll in interface Collection<V>removeAll in interface List<V>removeAll in class ConfigList<V>public void clear()
clear in interface Collection<V>clear in interface List<V>clear in class ConfigList<V>protected ConfigSection parent()
Copyright © 2016. All rights reserved.