Class ObjectSchema.ArrayWrapper
java.lang.Object
io.protostuff.runtime.ObjectSchema.ArrayWrapper
- All Implemented Interfaces:
Iterable<Object>, Collection<Object>
- Enclosing class:
ObjectSchema
An array wrapper internally used for adding objects.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanaddAll(Collection<? extends Object> arg0) voidclear()booleanbooleancontainsAll(Collection<?> arg0) booleanisEmpty()iterator()booleanbooleanremoveAll(Collection<?> arg0) booleanretainAll(Collection<?> arg0) intsize()Object[]toArray()<T> T[]toArray(T[] arg0) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Collection
equals, hashCode, parallelStream, removeIf, spliterator, stream, toArray
-
Field Details
-
array
-
offset
int offset
-
-
Constructor Details
-
ArrayWrapper
ArrayWrapper(Object array)
-
-
Method Details
-
add
- Specified by:
addin interfaceCollection<Object>
-
addAll
- Specified by:
addAllin interfaceCollection<Object>
-
clear
public void clear()- Specified by:
clearin interfaceCollection<Object>
-
contains
- Specified by:
containsin interfaceCollection<Object>
-
containsAll
- Specified by:
containsAllin interfaceCollection<Object>
-
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin interfaceCollection<Object>
-
iterator
-
remove
- Specified by:
removein interfaceCollection<Object>
-
removeAll
- Specified by:
removeAllin interfaceCollection<Object>
-
retainAll
- Specified by:
retainAllin interfaceCollection<Object>
-
size
public int size()- Specified by:
sizein interfaceCollection<Object>
-
toArray
- Specified by:
toArrayin interfaceCollection<Object>
-
toArray
public <T> T[] toArray(T[] arg0) - Specified by:
toArrayin interfaceCollection<Object>
-