Package org.infinispan.util
Class ReadOnlyDataContainerBackedKeySet
- java.lang.Object
-
- org.infinispan.util.ReadOnlyDataContainerBackedKeySet
-
@Deprecated public class ReadOnlyDataContainerBackedKeySet extends Object implements Set<Object>
Deprecated.DataContainer keySet method will be removed in the future. SeeDataContainer.keySet()
A Set view of keys in a data container, which is read-only and has efficient contains(), unlike some data container ley sets.- Since:
- 4.1
- Author:
- Manik Surtani
-
-
Constructor Summary
Constructors Constructor Description ReadOnlyDataContainerBackedKeySet(DataContainer container)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
add(Object o)
Deprecated.boolean
addAll(Collection<?> c)
Deprecated.void
clear()
Deprecated.boolean
contains(Object o)
Deprecated.boolean
containsAll(Collection<?> c)
Deprecated.boolean
isEmpty()
Deprecated.Iterator<Object>
iterator()
Deprecated.boolean
remove(Object o)
Deprecated.boolean
removeAll(Collection<?> c)
Deprecated.boolean
retainAll(Collection<?> c)
Deprecated.int
size()
Deprecated.Object[]
toArray()
Deprecated.<T> T[]
toArray(T[] a)
Deprecated.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
Methods inherited from interface java.util.Set
equals, hashCode, spliterator
-
-
-
-
Constructor Detail
-
ReadOnlyDataContainerBackedKeySet
public ReadOnlyDataContainerBackedKeySet(DataContainer container)
Deprecated.
-
-
Method Detail
-
size
public int size()
Deprecated.
-
isEmpty
public boolean isEmpty()
Deprecated.
-
contains
public boolean contains(Object o)
Deprecated.
-
toArray
public Object[] toArray()
Deprecated.
-
toArray
public <T> T[] toArray(T[] a)
Deprecated.
-
add
public boolean add(Object o)
Deprecated.
-
remove
public boolean remove(Object o)
Deprecated.
-
containsAll
public boolean containsAll(Collection<?> c)
Deprecated.- Specified by:
containsAll
in interfaceCollection<Object>
- Specified by:
containsAll
in interfaceSet<Object>
-
addAll
public boolean addAll(Collection<?> c)
Deprecated.
-
retainAll
public boolean retainAll(Collection<?> c)
Deprecated.
-
removeAll
public boolean removeAll(Collection<?> c)
Deprecated.
-
-