public final class Procedures2 extends Object
Procedure2
instances.Modifier and Type | Field and Description |
---|---|
static Procedure2<?,?> |
ADD_TO_COLLECTION |
static Procedure2<?,?> |
REMOVE_FROM_COLLECTION |
Modifier and Type | Method and Description |
---|---|
static <T> Procedure2<T,Collection<T>> |
addToCollection() |
static <T,P> Procedure2<T,P> |
fromProcedure(Procedure<? super T> procedure) |
static <T> Procedure2<T,Collection<T>> |
removeFromCollection() |
static <T,P> Procedure2<T,P> |
throwing(ThrowingProcedure2<T,P> throwingProcedure2) |
public static final Procedure2<?,?> ADD_TO_COLLECTION
public static final Procedure2<?,?> REMOVE_FROM_COLLECTION
public static <T,P> Procedure2<T,P> throwing(ThrowingProcedure2<T,P> throwingProcedure2)
public static <T,P> Procedure2<T,P> fromProcedure(Procedure<? super T> procedure)
public static <T> Procedure2<T,Collection<T>> addToCollection()
public static <T> Procedure2<T,Collection<T>> removeFromCollection()
Copyright © 2004–2016. All rights reserved.