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 booleanadd(Object o)Deprecated.booleanaddAll(Collection<?> c)Deprecated.voidclear()Deprecated.booleancontains(Object o)Deprecated.booleancontainsAll(Collection<?> c)Deprecated.booleanisEmpty()Deprecated.Iterator<Object>iterator()Deprecated.booleanremove(Object o)Deprecated.booleanremoveAll(Collection<?> c)Deprecated.booleanretainAll(Collection<?> c)Deprecated.intsize()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:
containsAllin interfaceCollection<Object>- Specified by:
containsAllin interfaceSet<Object>
-
addAll
public boolean addAll(Collection<?> c)
Deprecated.
-
retainAll
public boolean retainAll(Collection<?> c)
Deprecated.
-
removeAll
public boolean removeAll(Collection<?> c)
Deprecated.
-
-