net.sf.beanlib.util.concurrent
Class ConcurrentSkipListMap.EntrySet<K1,V1>
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractSet<Map.Entry<K1,V1>>
net.sf.beanlib.util.concurrent.ConcurrentSkipListMap.EntrySet<K1,V1>
- All Implemented Interfaces:
- Iterable<Map.Entry<K1,V1>>, Collection<Map.Entry<K1,V1>>, Set<Map.Entry<K1,V1>>
- Enclosing class:
- ConcurrentSkipListMap<K,V>
static final class ConcurrentSkipListMap.EntrySet<K1,V1>
- extends AbstractSet<Map.Entry<K1,V1>>
m
private final ConcurrentNavigableMap<K1,V1> m
ConcurrentSkipListMap.EntrySet
ConcurrentSkipListMap.EntrySet(ConcurrentNavigableMap<K1,V1> map)
iterator
public Iterator<Map.Entry<K1,V1>> iterator()
- Specified by:
iterator
in interface Iterable<Map.Entry<K1,V1>>
- Specified by:
iterator
in interface Collection<Map.Entry<K1,V1>>
- Specified by:
iterator
in interface Set<Map.Entry<K1,V1>>
- Specified by:
iterator
in class AbstractCollection<Map.Entry<K1,V1>>
contains
public boolean contains(Object o)
- Specified by:
contains
in interface Collection<Map.Entry<K1,V1>>
- Specified by:
contains
in interface Set<Map.Entry<K1,V1>>
- Overrides:
contains
in class AbstractCollection<Map.Entry<K1,V1>>
remove
public boolean remove(Object o)
- Specified by:
remove
in interface Collection<Map.Entry<K1,V1>>
- Specified by:
remove
in interface Set<Map.Entry<K1,V1>>
- Overrides:
remove
in class AbstractCollection<Map.Entry<K1,V1>>
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty
in interface Collection<Map.Entry<K1,V1>>
- Specified by:
isEmpty
in interface Set<Map.Entry<K1,V1>>
- Overrides:
isEmpty
in class AbstractCollection<Map.Entry<K1,V1>>
size
public int size()
- Specified by:
size
in interface Collection<Map.Entry<K1,V1>>
- Specified by:
size
in interface Set<Map.Entry<K1,V1>>
- Specified by:
size
in class AbstractCollection<Map.Entry<K1,V1>>
clear
public void clear()
- Specified by:
clear
in interface Collection<Map.Entry<K1,V1>>
- Specified by:
clear
in interface Set<Map.Entry<K1,V1>>
- Overrides:
clear
in class AbstractCollection<Map.Entry<K1,V1>>
equals
public boolean equals(Object o)
- Specified by:
equals
in interface Collection<Map.Entry<K1,V1>>
- Specified by:
equals
in interface Set<Map.Entry<K1,V1>>
- Overrides:
equals
in class AbstractSet<Map.Entry<K1,V1>>
toArray
public Object[] toArray()
- Specified by:
toArray
in interface Collection<Map.Entry<K1,V1>>
- Specified by:
toArray
in interface Set<Map.Entry<K1,V1>>
- Overrides:
toArray
in class AbstractCollection<Map.Entry<K1,V1>>
toArray
public <T> T[] toArray(T[] a)
- Specified by:
toArray
in interface Collection<Map.Entry<K1,V1>>
- Specified by:
toArray
in interface Set<Map.Entry<K1,V1>>
- Overrides:
toArray
in class AbstractCollection<Map.Entry<K1,V1>>