org.sonatype.guice.bean.locators
Class EntryMapAdapter<K,V>

java.lang.Object
  extended by java.util.AbstractMap<K,V>
      extended by org.sonatype.guice.bean.locators.EntryMapAdapter<K,V>
All Implemented Interfaces:
Map<K,V>

public final class EntryMapAdapter<K,V>
extends AbstractMap<K,V>

Map backed by an Iterable sequence of map entries.


Nested Class Summary
 
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
 
Constructor Summary
EntryMapAdapter(Iterable<? extends Map.Entry<K,V>> iterable)
           
 
Method Summary
 Set<Map.Entry<K,V>> entrySet()
           
 boolean isEmpty()
           
 
Methods inherited from class java.util.AbstractMap
clear, clone, containsKey, containsValue, equals, get, hashCode, keySet, put, putAll, remove, size, toString, values
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EntryMapAdapter

public EntryMapAdapter(Iterable<? extends Map.Entry<K,V>> iterable)
Method Detail

entrySet

public Set<Map.Entry<K,V>> entrySet()
Specified by:
entrySet in interface Map<K,V>
Specified by:
entrySet in class AbstractMap<K,V>

isEmpty

public boolean isEmpty()
Specified by:
isEmpty in interface Map<K,V>
Overrides:
isEmpty in class AbstractMap<K,V>


Copyright © 2010-2012 Sonatype, Inc.. All Rights Reserved.