faa.tg.util.adapter
Class Adapters.AdaptedCollection<F,T>
java.lang.Object
java.util.AbstractCollection<T>
faa.tg.util.adapter.Adapters.AdaptedCollection<F,T>
- All Implemented Interfaces:
- java.lang.Iterable<T>, java.util.Collection<T>
- Enclosing class:
- Adapters
private static final class Adapters.AdaptedCollection<F,T>
- extends java.util.AbstractCollection<T>
| Methods inherited from class java.util.AbstractCollection |
add, addAll, clear, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.Collection |
equals, hashCode |
adapter
private final Adapter<? super F,? extends T> adapter
source
private final java.util.Collection<? extends F> source
Adapters.AdaptedCollection
public Adapters.AdaptedCollection(java.util.Collection<? extends F> source,
Adapter<? super F,? extends T> adapter)
iterator
public java.util.Iterator<T> iterator()
- Specified by:
iterator in interface java.lang.Iterable<T>- Specified by:
iterator in interface java.util.Collection<T>- Specified by:
iterator in class java.util.AbstractCollection<T>
size
public int size()
- Specified by:
size in interface java.util.Collection<T>- Specified by:
size in class java.util.AbstractCollection<T>