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
protected class State.ArraysEntrySet extends Object implements Set<Map.Entry<String,Serializable>>
EntrySet optimized to just return a simple Iterator on the entries.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
ArraysEntrySet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
add(Map.Entry<String,Serializable> e)
boolean
addAll(Collection<? extends Map.Entry<String,Serializable>> c)
void
clear()
boolean
contains(Object o)
boolean
containsAll(Collection<?> c)
boolean
isEmpty()
Iterator<Map.Entry<String,Serializable>>
iterator()
boolean
remove(Object o)
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
-
-
-
-
Method Detail
-
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
public Iterator<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
public boolean contains(Object o)
- Specified by:
contains
in interfaceCollection<Map.Entry<String,Serializable>>
- Specified by:
contains
in interfaceSet<Map.Entry<String,Serializable>>
-
toArray
public Object[] 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
public boolean add(Map.Entry<String,Serializable> e)
- Specified by:
add
in interfaceCollection<Map.Entry<String,Serializable>>
- Specified by:
add
in interfaceSet<Map.Entry<String,Serializable>>
-
remove
public boolean remove(Object o)
- Specified by:
remove
in interfaceCollection<Map.Entry<String,Serializable>>
- Specified by:
remove
in interfaceSet<Map.Entry<String,Serializable>>
-
containsAll
public boolean containsAll(Collection<?> c)
- Specified by:
containsAll
in interfaceCollection<Map.Entry<String,Serializable>>
- Specified by:
containsAll
in interfaceSet<Map.Entry<String,Serializable>>
-
addAll
public boolean addAll(Collection<? extends Map.Entry<String,Serializable>> c)
- Specified by:
addAll
in interfaceCollection<Map.Entry<String,Serializable>>
- Specified by:
addAll
in interfaceSet<Map.Entry<String,Serializable>>
-
retainAll
public boolean retainAll(Collection<?> c)
- Specified by:
retainAll
in interfaceCollection<Map.Entry<String,Serializable>>
- Specified by:
retainAll
in interfaceSet<Map.Entry<String,Serializable>>
-
removeAll
public boolean removeAll(Collection<?> c)
- 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>>
-
-