public interface BiConsumer<T,U>
extends java.util.function.BiConsumer<T,U>
Modifier and Type | Method and Description |
---|---|
static <T,U> BiConsumer<T,U> |
doNothing() |
static <T,C extends java.util.Collection<? super T>> |
ofAdd() |
static <T,C extends java.util.Collection<T>> |
ofAddAll() |
static <K,V,M extends java.util.Map<K,V>> |
ofPutAll() |
static <T,C extends java.util.Collection<? super T>> |
ofRemove() |
static <T,C extends java.util.Collection<T>> |
ofRemoveAll() |
static <T,U> BiConsumer<T,U> doNothing()
static <T,C extends java.util.Collection<? super T>> BiConsumer<C,T> ofAdd()
static <T,C extends java.util.Collection<T>> BiConsumer<C,C> ofAddAll()
static <T,C extends java.util.Collection<? super T>> BiConsumer<C,T> ofRemove()
static <T,C extends java.util.Collection<T>> BiConsumer<C,C> ofRemoveAll()
static <K,V,M extends java.util.Map<K,V>> BiConsumer<M,M> ofPutAll()