Class ModifyAwareList<E>
java.lang.Object
io.ebeaninternal.json.ModifyAwareList<E>
- All Implemented Interfaces:
io.ebean.ModifyAwareType, Serializable, Iterable<E>, Collection<E>, List<E>
public final class ModifyAwareList<E>
extends Object
implements List<E>, io.ebean.ModifyAwareType, Serializable
Modify aware wrapper of a list.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionModifyAwareList(io.ebean.ModifyAwareType owner, List<E> list) ModifyAwareList(List<E> list) -
Method Summary
Modifier and TypeMethodDescriptionvoidbooleanbooleanaddAll(int index, Collection<? extends E> c) booleanaddAll(Collection<? extends E> c) asSet()Create an return a modify aware Set.voidclear()booleanbooleancontainsAll(Collection<?> c) booleanfreeze()get(int index) inthashCode()intbooleanisEmpty()booleaniterator()intlistIterator(int index) remove(int index) booleanbooleanremoveAll(Collection<?> c) booleanretainAll(Collection<?> c) voidsetMarkedDirty(boolean markedDirty) intsize()subList(int fromIndex, int toIndex) Object[]toArray()<T> T[]toArray(T[] a) toString()Methods inherited from interface Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface List
replaceAll, sort, spliterator
-
Constructor Details
-
ModifyAwareList
-
ModifyAwareList
-
-
Method Details
-
toString
-
equals
-
hashCode
-
freeze
-
isMarkedDirty
public boolean isMarkedDirty()- Specified by:
isMarkedDirtyin interfaceio.ebean.ModifyAwareType
-
setMarkedDirty
public void setMarkedDirty(boolean markedDirty) - Specified by:
setMarkedDirtyin interfaceio.ebean.ModifyAwareType
-
size
-
isEmpty
-
contains
-
iterator
-
toArray
-
toArray
-
add
-
remove
-
containsAll
- Specified by:
containsAllin interfaceCollection<E>- Specified by:
containsAllin interfaceList<E>
-
addAll
-
addAll
-
removeAll
-
retainAll
-
clear
-
get
-
set
-
add
-
remove
-
indexOf
-
lastIndexOf
- Specified by:
lastIndexOfin interfaceList<E>
-
listIterator
- Specified by:
listIteratorin interfaceList<E>
-
listIterator
- Specified by:
listIteratorin interfaceList<E>
-
subList
-
asSet
Create an return a modify aware Set.
-