Package com.tangosol.net.cache
Class OverflowMap.InternalKeySet
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractSet
-
- com.tangosol.net.cache.OverflowMap.InternalKeySet
-
- All Implemented Interfaces:
Iterable
,Collection
,Set
- Enclosing class:
- OverflowMap
protected class OverflowMap.InternalKeySet extends AbstractSet
A read-only set of keys backed by this map.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected class
OverflowMap.InternalKeySet.InternalKeySetIterator
An Iterator implementation over the keys in the OverflowMap that that is based on a concurrent Iterator over the internal status map.
-
Constructor Summary
Constructors Modifier Constructor Description protected
InternalKeySet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
contains(Object o)
boolean
isEmpty()
Iterator
iterator()
int
size()
Object[]
toArray()
Object[]
toArray(Object[] ao)
-
Methods inherited from class java.util.AbstractSet
equals, hashCode, removeAll
-
Methods inherited from class java.util.AbstractCollection
add, addAll, clear, containsAll, remove, retainAll, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
Methods inherited from interface java.util.Set
add, addAll, clear, containsAll, remove, retainAll, spliterator
-
-
-
-
Method Detail
-
contains
public boolean contains(Object o)
- Specified by:
contains
in interfaceCollection
- Specified by:
contains
in interfaceSet
- Overrides:
contains
in classAbstractCollection
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty
in interfaceCollection
- Specified by:
isEmpty
in interfaceSet
- Overrides:
isEmpty
in classAbstractCollection
-
iterator
public Iterator iterator()
- Specified by:
iterator
in interfaceCollection
- Specified by:
iterator
in interfaceIterable
- Specified by:
iterator
in interfaceSet
- Specified by:
iterator
in classAbstractCollection
-
size
public int size()
- Specified by:
size
in interfaceCollection
- Specified by:
size
in interfaceSet
- Specified by:
size
in classAbstractCollection
-
toArray
public Object[] toArray()
- Specified by:
toArray
in interfaceCollection
- Specified by:
toArray
in interfaceSet
- Overrides:
toArray
in classAbstractCollection
-
toArray
public Object[] toArray(Object[] ao)
- Specified by:
toArray
in interfaceCollection
- Specified by:
toArray
in interfaceSet
- Overrides:
toArray
in classAbstractCollection
-
-