Package cz.cvut.kbss.jopa.proxy.change
Class ChangeTrackingIndirectSet<E>
java.lang.Object
cz.cvut.kbss.jopa.proxy.change.ChangeTrackingIndirectCollection<Set<E>>
cz.cvut.kbss.jopa.proxy.change.ChangeTrackingIndirectSet<E>
- All Implemented Interfaces:
IndirectWrapper<Set<E>>,Iterable<E>,Collection<E>,Set<E>
public class ChangeTrackingIndirectSet<E>
extends ChangeTrackingIndirectCollection<Set<E>>
implements Set<E>
-
Field Summary
Fields inherited from class cz.cvut.kbss.jopa.proxy.change.ChangeTrackingIndirectCollection
field, owner, persistenceContext -
Constructor Summary
ConstructorsConstructorDescriptionChangeTrackingIndirectSet(Object owner, Field f, UnitOfWork uow, Set<E> referencedSet) -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanaddAll(Collection<? extends E> c) voidclear()booleanbooleancontainsAll(Collection<?> c) booleaninthashCode()booleanisEmpty()iterator()booleanbooleanremoveAll(Collection<?> c) booleanretainAll(Collection<?> c) intsize()Object[]toArray()<T> T[]toArray(T[] a) toString()unwrap()Retrieves the wrapped object.Methods inherited from class cz.cvut.kbss.jopa.proxy.change.ChangeTrackingIndirectCollection
persistChangeMethods 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.Set
spliterator
-
Constructor Details
-
ChangeTrackingIndirectSet
-
-
Method Details
-
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 interfaceSet<E>
-
addAll
-
retainAll
-
removeAll
-
clear
public void clear() -
unwrap
Description copied from interface:IndirectWrapperRetrieves the wrapped object.- Specified by:
unwrapin interfaceIndirectWrapper<E>- Returns:
- The wrapped object
-
equals
-
hashCode
public int hashCode() -
toString
-