public class PersistentSet<E> extends Object implements Set<E>
| Constructor and Description |
|---|
PersistentSet(org.onosproject.store.service.Serializer serializer,
org.mapdb.DB database,
String name) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(E item) |
boolean |
addAll(Collection<? extends E> c) |
void |
clear() |
boolean |
contains(Object o) |
boolean |
containsAll(Collection<?> c) |
boolean |
equals(Object set) |
int |
hashCode() |
boolean |
isEmpty() |
Iterator<E> |
iterator() |
void |
readInto(Set<E> items) |
boolean |
remove(Object o) |
boolean |
removeAll(Collection<?> c) |
boolean |
retainAll(Collection<?> c) |
int |
size() |
Object[] |
toArray() |
<T> T[] |
toArray(T[] a) |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitspliteratorparallelStream, removeIf, streampublic PersistentSet(org.onosproject.store.service.Serializer serializer,
org.mapdb.DB database,
String name)
public int size()
public boolean isEmpty()
public boolean contains(Object o)
public Object[] toArray()
public <T> T[] toArray(T[] a)
public boolean add(E item)
public boolean remove(Object o)
public boolean containsAll(Collection<?> c)
containsAll in interface Collection<E>containsAll in interface Set<E>public boolean addAll(Collection<? extends E> c)
public boolean retainAll(Collection<?> c)
public boolean removeAll(Collection<?> c)
public void clear()
public boolean equals(Object set)