C - the collection type parameterE - the element type parameterpublic class CollectionAllAdder<C extends Collection<E>,E> extends Object implements UnaryOperator<C>
| Constructor and Description |
|---|
CollectionAllAdder(Collection<E> collection) |
| Modifier and Type | Method and Description |
|---|---|
C |
apply(C elements) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitidentitypublic CollectionAllAdder(Collection<E> collection)
public C apply(C elements)
apply in interface Function<C extends Collection<E>,C extends Collection<E>>Copyright © 2017. All rights reserved.