java.lang.Object
io.ebeaninternal.json.ModifyAwareList<E>
- All Implemented Interfaces:
ModifyAwareType,Serializable,Iterable<E>,Collection<E>,List<E>
public final class ModifyAwareList<E>
extends Object
implements List<E>, ModifyAwareType, Serializable
Modify aware wrapper of a list.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionModifyAwareList(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) booleanget(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 class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface java.util.List
replaceAll, sort, spliterator
-
Constructor Details
-
ModifyAwareList
-
ModifyAwareList
-
-
Method Details
-
toString
-
equals
-
hashCode
public int hashCode() -
isMarkedDirty
public boolean isMarkedDirty()- Specified by:
isMarkedDirtyin interfaceModifyAwareType
-
setMarkedDirty
public void setMarkedDirty(boolean markedDirty) - Specified by:
setMarkedDirtyin interfaceModifyAwareType
-
size
public int size() -
isEmpty
public boolean isEmpty() -
contains
-
iterator
-
toArray
-
toArray
public <T> T[] toArray(T[] a) -
add
-
remove
-
containsAll
- Specified by:
containsAllin interfaceCollection<E>- Specified by:
containsAllin interfaceList<E>
-
addAll
-
addAll
-
removeAll
-
retainAll
-
clear
public void 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.
-