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:
java.util.Map<K,V>

public final class EntryMapAdapter<K,V>
extends java.util.AbstractMap<K,V>

Map backed by an Iterable sequence of map entries.


Nested Class Summary
 
Nested classes/interfaces inherited from class java.util.AbstractMap
java.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V>
 
Nested classes/interfaces inherited from interface java.util.Map
java.util.Map.Entry<K,V>
 
Constructor Summary
EntryMapAdapter(java.lang.Iterable<? extends java.util.Map.Entry<K,V>> iterable)
           
 
Method Summary
 java.util.Set<java.util.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(java.lang.Iterable<? extends java.util.Map.Entry<K,V>> iterable)
Method Detail

entrySet

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

isEmpty

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


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