Package com.db4o.internal.collections
Class BigSet<E>
- java.lang.Object
-
- com.db4o.internal.collections.BigSet<E>
-
- All Implemented Interfaces:
BigSetPersistence
,java.lang.Iterable<E>
,java.util.Collection<E>
,java.util.Set<E>
public class BigSet<E> extends java.lang.Object implements java.util.Set<E>, BigSetPersistence
-
-
Constructor Summary
Constructors Constructor Description BigSet(LocalObjectContainer db)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
add(E obj)
boolean
addAll(java.lang.Iterable<? extends E> iterable)
boolean
addAll(java.util.Collection<? extends E> collection)
void
clear()
boolean
contains(java.lang.Object obj)
boolean
containsAll(java.util.Collection<?> collection)
void
invalidate()
boolean
isEmpty()
java.util.Iterator<E>
iterator()
void
read(ReadContext context)
boolean
remove(java.lang.Object obj)
boolean
removeAll(java.util.Collection<?> collection)
boolean
retainAll(java.util.Collection<?> c)
int
size()
java.lang.Object[]
toArray()
<T> T[]
toArray(T[] a)
void
write(WriteContext context)
-
-
-
Constructor Detail
-
BigSet
public BigSet(LocalObjectContainer db)
-
-
Method Detail
-
add
public boolean add(E obj)
-
addAll
public boolean addAll(java.util.Collection<? extends E> collection)
-
addAll
public boolean addAll(java.lang.Iterable<? extends E> iterable)
-
clear
public void clear()
-
contains
public boolean contains(java.lang.Object obj)
-
containsAll
public boolean containsAll(java.util.Collection<?> collection)
-
isEmpty
public boolean isEmpty()
-
iterator
public java.util.Iterator<E> iterator()
-
remove
public boolean remove(java.lang.Object obj)
-
removeAll
public boolean removeAll(java.util.Collection<?> collection)
-
retainAll
public boolean retainAll(java.util.Collection<?> c)
-
size
public int size()
-
toArray
public java.lang.Object[] toArray()
-
toArray
public <T> T[] toArray(T[] a)
-
write
public void write(WriteContext context)
- Specified by:
write
in interfaceBigSetPersistence
-
read
public void read(ReadContext context)
- Specified by:
read
in interfaceBigSetPersistence
-
invalidate
public void invalidate()
- Specified by:
invalidate
in interfaceBigSetPersistence
-
-