net.sf.beanlib.util.concurrent
Class ConcurrentSkipListMap.EntrySet<K1,V1>

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractSet<Map.Entry<K1,V1>>
          extended by 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>>


Field Summary
private  ConcurrentNavigableMap<K1,V1> m
           
 
Constructor Summary
ConcurrentSkipListMap.EntrySet(ConcurrentNavigableMap<K1,V1> map)
           
 
Method Summary
 void clear()
           
 boolean contains(Object o)
           
 boolean equals(Object o)
           
 boolean isEmpty()
           
 Iterator<Map.Entry<K1,V1>> iterator()
           
 boolean remove(Object o)
           
 int size()
           
 Object[] toArray()
           
<T> T[]
toArray(T[] a)
           
 
Methods inherited from class java.util.AbstractSet
hashCode, removeAll
 
Methods inherited from class java.util.AbstractCollection
add, addAll, containsAll, retainAll, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Set
add, addAll, containsAll, retainAll
 

Field Detail

m

private final ConcurrentNavigableMap<K1,V1> m
Constructor Detail

ConcurrentSkipListMap.EntrySet

ConcurrentSkipListMap.EntrySet(ConcurrentNavigableMap<K1,V1> map)
Method Detail

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>>