public class DefaultDbCollection<E> extends DbRelsCommons<E> implements Collection<E>
db, holder, name, tracker| Constructor and Description |
|---|
DefaultDbCollection(org.rapidoidx.db.Database db,
Object holder,
String relation,
Collection<Long> ids) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(E e) |
boolean |
addAll(Collection<? extends E> c) |
boolean |
contains(Object e) |
boolean |
containsAll(Collection<?> c) |
protected Collection<Long> |
idsOf(Collection<?> c,
boolean persist) |
Iterator<E> |
iterator() |
boolean |
remove(Object e) |
boolean |
removeAll(Collection<?> c) |
boolean |
retainAll(Collection<?> c) |
addId, addIdAt, addIdsAt, addIdWithoutTracking, clear, compareTo, deserializeBean, equals, getAddedRelations, getHolder, getIdAt, getIdSublist, getIdsView, getName, getRemovedRelations, getSingleId, hashCode, hasId, indexOfId, initId, initIds, isEmpty, lastIndexOfId, records, removeId, removeIdAt, removeIdWithoutTracking, retainIds, serializeBean, setHolder, setIdAt, size, toArray, toArray, toStringclone, equals, finalize, getClass, notify, notifyAll, wait, wait, waitclear, equals, hashCode, isEmpty, parallelStream, removeIf, size, spliterator, stream, toArray, toArraypublic DefaultDbCollection(org.rapidoidx.db.Database db,
Object holder,
String relation,
Collection<Long> ids)
public boolean add(E e)
add in interface Collection<E>public boolean addAll(Collection<? extends E> c)
addAll in interface Collection<E>public boolean contains(Object e)
contains in interface Collection<E>public boolean containsAll(Collection<?> c)
containsAll in interface Collection<E>public boolean remove(Object e)
remove in interface Collection<E>public boolean removeAll(Collection<?> c)
removeAll in interface Collection<E>public boolean retainAll(Collection<?> c)
retainAll in interface Collection<E>protected Collection<Long> idsOf(Collection<?> c, boolean persist)
Copyright © 2014–2015 Nikolche Mihajlovski and contributors. All rights reserved.