|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.AbstractCollection<E> net.sf.ehcache.util.LargeCollection<E>
E
- public abstract class LargeCollection<E>
Collection for large set. The general purpose is not to iterator through all the keys for add and remove operations.
Constructor Summary | |
---|---|
LargeCollection()
default constructor. |
Method Summary | |
---|---|
boolean |
add(E obj)
|
boolean |
contains(Object obj)
|
Iterator<E> |
iterator()
|
boolean |
remove(Object obj)
|
boolean |
removeAll(Collection<?> removeCandidates)
|
int |
size()
|
abstract Iterator<E> |
sourceIterator()
Iterator of initial set of entries. |
abstract int |
sourceSize()
Initial set of entries size. |
Methods inherited from class java.util.AbstractCollection |
---|
addAll, clear, containsAll, isEmpty, retainAll, toArray, toArray, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.Collection |
---|
equals, hashCode |
Constructor Detail |
---|
public LargeCollection()
Method Detail |
---|
public final boolean add(E obj)
add
in interface Collection<E>
add
in class AbstractCollection<E>
public final boolean contains(Object obj)
contains
in interface Collection<E>
contains
in class AbstractCollection<E>
public final boolean remove(Object obj)
remove
in interface Collection<E>
remove
in class AbstractCollection<E>
public final boolean removeAll(Collection<?> removeCandidates)
removeAll
in interface Collection<E>
removeAll
in class AbstractCollection<E>
public final Iterator<E> iterator()
iterator
in interface Iterable<E>
iterator
in interface Collection<E>
iterator
in class AbstractCollection<E>
public final int size()
size
in interface Collection<E>
size
in class AbstractCollection<E>
public abstract Iterator<E> sourceIterator()
public abstract int sourceSize()
|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |