Package me.lauriichan.laylib.json
Class JsonArray
java.lang.Object
me.lauriichan.laylib.json.JsonArray
- All Implemented Interfaces:
Iterable<IJson<?>>,Collection<IJson<?>>,List<IJson<?>>,RandomAccess,SequencedCollection<IJson<?>>,IJson<List<IJson<?>>>
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbooleanbooleanaddAll(int index, Collection<? extends IJson<?>> c) booleanaddAll(Collection<? extends IJson<?>> c) voidbooleanvoidclear()booleanbooleanbooleancontainsAll(Collection<?> c) booleanIJson<?> get(int index) inthashCode()intbooleanisEmpty()iterator()intListIterator<IJson<?>> ListIterator<IJson<?>> listIterator(int index) IJson<?> remove(int index) booleanbooleanremoveAll(Collection<?> c) booleanretainAll(Collection<?> c) IJson<?> IJson<?> intsize()subList(int fromIndex, int toIndex) Object[]toArray()<T> T[]toArray(T[] a) type()value()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface me.lauriichan.laylib.json.IJson
as, asJsonArray, asJsonBoolean, asJsonNull, asJsonNumber, asJsonObject, asJsonString, isArray, isBoolean, isJson, isNull, isNumber, isObject, isPrimitive, isStringMethods inherited from interface java.util.List
addFirst, addLast, getFirst, getLast, removeFirst, removeLast, replaceAll, reversed, sort, spliterator
-
Constructor Details
-
JsonArray
public JsonArray()
-
-
Method Details
-
addAny
-
addAny
-
setAny
-
contains
-
contains
-
equals
-
hashCode
-
type
-
value
-
size
-
isEmpty
-
toArray
-
toArray
-
add
-
remove
-
containsAll
- Specified by:
containsAllin interfaceCollection<IJson<?>>- Specified by:
containsAllin interfaceList<IJson<?>>
-
addAll
-
addAll
-
removeAll
-
retainAll
-
clear
-
get
-
set
-
add
-
remove
-
indexOf
-
lastIndexOf
- Specified by:
lastIndexOfin interfaceList<IJson<?>>
-
listIterator
- Specified by:
listIteratorin interfaceList<IJson<?>>
-
listIterator
- Specified by:
listIteratorin interfaceList<IJson<?>>
-
subList
-
iterator
-