public class MappedCollection<T,U>
extends java.util.AbstractCollection<U>
Collection that presents a mapped view of another Collection.| Modifier and Type | Method and Description |
|---|---|
static <T,U> java.util.Collection<U> |
from(java.util.Collection<? extends T> collection,
java.util.function.Function<? super T,? extends U> mapper) |
java.util.Iterator<U> |
iterator() |
int |
size() |
add, addAll, clear, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static <T,U> java.util.Collection<U> from(java.util.Collection<? extends T> collection,
java.util.function.Function<? super T,? extends U> mapper)
public java.util.Iterator<U> iterator()