faa.tg.util.adapter
Class Adapters.AdaptedEntry<K,V,L,W>

java.lang.Object
  extended by faa.tg.util.adapter.Adapters.AdaptedEntry<K,V,L,W>
All Implemented Interfaces:
java.util.Map.Entry<L,W>
Enclosing class:
Adapters

private static final class Adapters.AdaptedEntry<K,V,L,W>
extends java.lang.Object
implements java.util.Map.Entry<L,W>


Field Summary
private  Adapter<? super K,? extends L> keyAdapter
           
private  java.util.Map.Entry<K,V> source
           
private  Adapter<? super V,? extends W> valueAdapter
           
 
Constructor Summary
private Adapters.AdaptedEntry(java.util.Map.Entry<K,V> source, Adapter<? super K,? extends L> keyAdapter, Adapter<? super V,? extends W> valueAdapter)
           
 
Method Summary
 L getKey()
           
 W getValue()
           
 W setValue(W value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Map.Entry
equals, hashCode
 

Field Detail

keyAdapter

private final Adapter<? super K,? extends L> keyAdapter

valueAdapter

private final Adapter<? super V,? extends W> valueAdapter

source

private final java.util.Map.Entry<K,V> source
Constructor Detail

Adapters.AdaptedEntry

private Adapters.AdaptedEntry(java.util.Map.Entry<K,V> source,
                              Adapter<? super K,? extends L> keyAdapter,
                              Adapter<? super V,? extends W> valueAdapter)
Method Detail

getKey

public L getKey()
Specified by:
getKey in interface java.util.Map.Entry<L,W>

getValue

public W getValue()
Specified by:
getValue in interface java.util.Map.Entry<L,W>

setValue

public W setValue(W value)
Specified by:
setValue in interface java.util.Map.Entry<L,W>