Package org.nuxeo.ecm.core.storage
Class State.ArraysEntrySet
java.lang.Object
org.nuxeo.ecm.core.storage.State.ArraysEntrySet
- All Implemented Interfaces:
Iterable<Map.Entry<String,
,Serializable>> Collection<Map.Entry<String,
,Serializable>> Set<Map.Entry<String,
Serializable>>
- Enclosing class:
- State
EntrySet optimized to just return a simple Iterator on the entries.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
addAll
(Collection<? extends Map.Entry<String, Serializable>> c) void
clear()
boolean
boolean
containsAll
(Collection<?> c) boolean
isEmpty()
iterator()
boolean
boolean
removeAll
(Collection<?> c) boolean
retainAll
(Collection<?> c) int
size()
Object[]
toArray()
<T> T[]
toArray
(T[] a) 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 Details
-
ArraysEntrySet
protected ArraysEntrySet()
-
-
Method Details
-
size
public int size()- Specified by:
size
in interfaceCollection<Map.Entry<String,
Serializable>> - Specified by:
size
in interfaceSet<Map.Entry<String,
Serializable>>
-
isEmpty
public boolean isEmpty()- Specified by:
isEmpty
in interfaceCollection<Map.Entry<String,
Serializable>> - Specified by:
isEmpty
in interfaceSet<Map.Entry<String,
Serializable>>
-
iterator
- Specified by:
iterator
in interfaceCollection<Map.Entry<String,
Serializable>> - Specified by:
iterator
in interfaceIterable<Map.Entry<String,
Serializable>> - Specified by:
iterator
in interfaceSet<Map.Entry<String,
Serializable>>
-
contains
- Specified by:
contains
in interfaceCollection<Map.Entry<String,
Serializable>> - Specified by:
contains
in interfaceSet<Map.Entry<String,
Serializable>>
-
toArray
- Specified by:
toArray
in interfaceCollection<Map.Entry<String,
Serializable>> - Specified by:
toArray
in interfaceSet<Map.Entry<String,
Serializable>>
-
toArray
public <T> T[] toArray(T[] a) - Specified by:
toArray
in interfaceCollection<Map.Entry<String,
Serializable>> - Specified by:
toArray
in interfaceSet<Map.Entry<String,
Serializable>>
-
add
- Specified by:
add
in interfaceCollection<Map.Entry<String,
Serializable>> - Specified by:
add
in interfaceSet<Map.Entry<String,
Serializable>>
-
remove
- Specified by:
remove
in interfaceCollection<Map.Entry<String,
Serializable>> - Specified by:
remove
in interfaceSet<Map.Entry<String,
Serializable>>
-
containsAll
- Specified by:
containsAll
in interfaceCollection<Map.Entry<String,
Serializable>> - Specified by:
containsAll
in interfaceSet<Map.Entry<String,
Serializable>>
-
addAll
- Specified by:
addAll
in interfaceCollection<Map.Entry<String,
Serializable>> - Specified by:
addAll
in interfaceSet<Map.Entry<String,
Serializable>>
-
retainAll
- Specified by:
retainAll
in interfaceCollection<Map.Entry<String,
Serializable>> - Specified by:
retainAll
in interfaceSet<Map.Entry<String,
Serializable>>
-
removeAll
- Specified by:
removeAll
in interfaceCollection<Map.Entry<String,
Serializable>> - Specified by:
removeAll
in interfaceSet<Map.Entry<String,
Serializable>>
-
clear
public void clear()- Specified by:
clear
in interfaceCollection<Map.Entry<String,
Serializable>> - Specified by:
clear
in interfaceSet<Map.Entry<String,
Serializable>>
-