org.jclouds.collect
Class InputSupplierMap<K,V>

java.lang.Object
  extended by java.util.AbstractMap<K,V>
      extended by org.jclouds.collect.InputSupplierMap<K,V>
All Implemented Interfaces:
Map<K,V>
Direct Known Subclasses:
CopyInputStreamInputSupplierMap

public class InputSupplierMap<K,V>
extends AbstractMap<K,V>

Author:
Adrian Cole

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
InputSupplierMap(Map<K,com.google.common.io.InputSupplier<V>> toMap, com.google.common.base.Function<V,com.google.common.io.InputSupplier<V>> putFunction)
           
 
Method Summary
 void clear()
           
 boolean containsKey(Object key)
           
 Set<Map.Entry<K,V>> entrySet()
           
 V get(Object key)
           
 V put(K key, V value)
           
 V remove(Object key)
           
 int size()
           
 
Methods inherited from class java.util.AbstractMap
clone, containsValue, equals, hashCode, isEmpty, keySet, putAll, toString, values
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InputSupplierMap

public InputSupplierMap(Map<K,com.google.common.io.InputSupplier<V>> toMap,
                        com.google.common.base.Function<V,com.google.common.io.InputSupplier<V>> putFunction)
Method Detail

size

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

put

public V put(K key,
             V value)
Specified by:
put in interface Map<K,V>
Overrides:
put in class AbstractMap<K,V>

containsKey

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

get

public V get(Object key)
Specified by:
get in interface Map<K,V>
Overrides:
get in class AbstractMap<K,V>

remove

public V remove(Object key)
Specified by:
remove in interface Map<K,V>
Overrides:
remove in class AbstractMap<K,V>

clear

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

entrySet

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


Copyright © 2009-2011 jclouds. All Rights Reserved.