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

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractSet<java.util.Map.Entry<L,W>>
          extended by faa.tg.util.adapter.Adapters.AdaptedEntrySet<K,V,L,W>
All Implemented Interfaces:
java.lang.Iterable<java.util.Map.Entry<L,W>>, java.util.Collection<java.util.Map.Entry<L,W>>, java.util.Set<java.util.Map.Entry<L,W>>
Enclosing class:
Adapters

private static final class Adapters.AdaptedEntrySet<K,V,L,W>
extends java.util.AbstractSet<java.util.Map.Entry<L,W>>


Field Summary
private  Adapter<? super K,? extends L> keyAdapter
           
private  java.util.Map<K,V> source
           
private  Adapter<? super V,? extends W> valueAdapter
           
 
Constructor Summary
private Adapters.AdaptedEntrySet(java.util.Map<K,V> map, Adapter<? super K,? extends L> keyAdapter, Adapter<? super V,? extends W> valueAdapter)
           
 
Method Summary
 java.util.Iterator<java.util.Map.Entry<L,W>> iterator()
           
 int size()
           
 
Methods inherited from class java.util.AbstractSet
equals, hashCode, removeAll
 
Methods inherited from class java.util.AbstractCollection
add, addAll, clear, contains, containsAll, isEmpty, remove, retainAll, toArray, toArray, 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, clear, contains, containsAll, isEmpty, remove, retainAll, toArray, toArray
 

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<K,V> source
Constructor Detail

Adapters.AdaptedEntrySet

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

iterator

public java.util.Iterator<java.util.Map.Entry<L,W>> iterator()
Specified by:
iterator in interface java.lang.Iterable<java.util.Map.Entry<L,W>>
Specified by:
iterator in interface java.util.Collection<java.util.Map.Entry<L,W>>
Specified by:
iterator in interface java.util.Set<java.util.Map.Entry<L,W>>
Specified by:
iterator in class java.util.AbstractCollection<java.util.Map.Entry<L,W>>

size

public int size()
Specified by:
size in interface java.util.Collection<java.util.Map.Entry<L,W>>
Specified by:
size in interface java.util.Set<java.util.Map.Entry<L,W>>
Specified by:
size in class java.util.AbstractCollection<java.util.Map.Entry<L,W>>