Package org.aksw.jenax.io.json.gon
Class GonArrayImpl<K,V>
java.lang.Object
org.aksw.jenax.io.json.gon.GonElementBase<K,V>
org.aksw.jenax.io.json.gon.GonArrayImpl<K,V>
- All Implemented Interfaces:
Iterable<GonElement<K,,V>> GonArray<K,,V> GonElement<K,V>
-
Field Summary
FieldsFields inherited from class org.aksw.jenax.io.json.gon.GonElementBase
parentLink -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> Taccept(GonElementVisitor<K, V, T> visitor) add(GonElement<K, V> element) addAll(Collection<? extends GonElement<K, V>> c) GonElement<K,V> get(int index) Iterator<GonElement<K,V>> iterator()remove(int index) set(int index, GonElement<K, V> element) intsize()Methods inherited from class org.aksw.jenax.io.json.gon.GonElementBase
getParent, setParentMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.aksw.jenax.io.json.gon.GonElement
asNull, getAsArray, getAsLiteral, getAsObject, getParent, getRoot, isArray, isLiteral, isNull, isObject, unlinkFromParentMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Field Details
-
elements
-
-
Constructor Details
-
GonArrayImpl
public GonArrayImpl() -
GonArrayImpl
-
-
Method Details
-
accept
- Specified by:
acceptin interfaceGonElement<K,V>
-
add
-
size
public int size() -
addAll
-
addAll
-
get
-
iterator
-
set
-
remove
-