Procedure2 instances.
| Modifier and Type | Class and Description |
|---|---|
| private static class | |
| private static class | |
| private static class | |
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| public static final Procedure2 | |
| public static final Procedure2 |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static <T> Procedure2 | |
| public static <T, P> Procedure2 | |
| public static <T> Procedure2 | |
| public static <T> Procedure2 | summarizeDouble(DoubleFunction<? super T> function)
Use with |
| public static <T> Procedure2 | summarizeFloat(FloatFunction<? super T> function)
Use with |
| public static <T> Procedure2 | summarizeInt(IntFunction<? super T> function)
Use with |
| public static <T> Procedure2 | summarizeLong(LongFunction<? super T> function)
Use with |
| public static <T, P> Procedure2 | throwing(ThrowingProcedure2<T, P> throwingProcedure2)
Allows a lambda or anonymous inner class that needs to throw a checked exception to be safely wrapped as a Procedure2 that will throw a RuntimeException, wrapping the checked exception that is the cause. |
| public static <T1, T2> Procedure2 | throwing(ThrowingProcedure2<T1, T2> throwingProcedure, Function3<T1, T2, ? super Throwable, ? extends RuntimeException> rethrow)
Allows a lambda or anonymous inner class that needs to throw a checked exception to be safely wrapped as a Procedure2 that will throw a user specified RuntimeException based on the provided function. |
| ADD_TO_COLLECTION | back to summary |
|---|---|
| public static final Procedure2<?, ?> ADD_TO_COLLECTION | |
| REMOVE_FROM_COLLECTION | back to summary |
|---|---|
| public static final Procedure2<?, ?> REMOVE_FROM_COLLECTION | |
| Procedures2 | back to summary |
|---|---|
| private Procedures2() | |
| addToCollection | back to summary |
|---|---|
| public static <T> Procedure2 | |
| fromProcedure | back to summary |
|---|---|
| public static <T, P> Procedure2 | |
| removeFromCollection | back to summary |
|---|---|
| public static <T> Procedure2 | |
| summarizeDouble | back to summary |
|---|---|
| public static <T> Procedure2 Use with
| |
| summarizeFloat | back to summary |
|---|---|
| public static <T> Procedure2 Use with
| |
| summarizeInt | back to summary |
|---|---|
| public static <T> Procedure2 Use with
| |
| summarizeLong | back to summary |
|---|---|
| public static <T> Procedure2 Use with
| |
| throwing | back to summary |
|---|---|
| public static <T, P> Procedure2 Allows a lambda or anonymous inner class that needs to throw a checked exception to be safely wrapped as a Procedure2 that will throw a RuntimeException, wrapping the checked exception that is the cause. | |
| throwing | back to summary |
|---|---|
| public static <T1, T2> Procedure2 Allows a lambda or anonymous inner class that needs to throw a checked exception to be safely wrapped as a Procedure2 that will throw a user specified RuntimeException based on the provided function. The function is passed the current element and the checked exception that was thrown as context arguments. | |
| Modifier and Type | Field and Description |
|---|---|
| private static final long |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public void | value(T each, Collection<T> target)
Implements org.
|
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| AddToCollection | back to summary |
|---|---|
| private AddToCollection() | |
| value | back to summary |
|---|---|
| public void value(T each, Collection<T> target) Implements org.
| |
| Modifier and Type | Field and Description |
|---|---|
| private final Procedure | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public void |
| procedure | back to summary |
|---|---|
| private final Procedure<? super T> procedure | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| ProcedureAdapter | back to summary |
|---|---|
| private ProcedureAdapter(Procedure<? super T> procedure) | |
| value | back to summary |
|---|---|
| public void value(T each, P parameter) Implements org.
| |
| Modifier and Type | Field and Description |
|---|---|
| private static final long |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public void | value(T each, Collection<T> target)
Implements org.
|
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| RemoveFromCollection | back to summary |
|---|---|
| private RemoveFromCollection() | |
| value | back to summary |
|---|---|
| public void value(T each, Collection<T> target) Implements org.
| |
| Modifier and Type | Field and Description |
|---|---|
| private static final long | |
| private final ThrowingProcedure2 |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public void | safeValue(T object, P parameter)
Implements org.
|
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides org. | |
| throwingProcedure2 | back to summary |
|---|---|
| private final ThrowingProcedure2<T, P> throwingProcedure2 | |
| ThrowingProcedure2Adapter | back to summary |
|---|---|
| private ThrowingProcedure2Adapter(ThrowingProcedure2<T, P> throwingProcedure2) | |
| safeValue | back to summary |
|---|---|
| public void safeValue(T object, P parameter) throws Exception Implements org.
| |