| Modifier and Type | Class and Description |
|---|---|
| private static class | |
| private static class | |
| private static enum | |
| private static class | |
| private static class | |
| public static class | |
| private static class |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static <T> Procedure | |
| public static <T, P> Procedure | |
| public static <T> CaseProcedure | |
| public static <T> CaseProcedure | caseDefault(Procedure<? super T> defaultProcedure, Predicate<? super T> predicate, Procedure<? super T> procedure)
|
| public static <T> Procedure | |
| public static <T> Procedure | |
| public static <T> Procedure | fromProcedureWithInt(ObjectIntProcedure<? super T> objectIntProcedure)
Deprecated
since 1.2 - Inlineable
|
| public static <T> Procedure | |
| public static <T> Procedure | |
| public static <T> Procedure | |
| public static <T> Procedure | |
| public static <T> Procedure | |
| public static <T> Procedure | throwing(ThrowingProcedure<T> throwingProcedure)
Allows a lambda or anonymous inner class that needs to throw a checked exception to be safely wrapped as a Procedure that will throw a RuntimeException, wrapping the checked exception that is the cause. |
| public static <T> Procedure | throwing(ThrowingProcedure<T> throwingProcedure, Function2<T, ? 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 Procedure that will throw a user specified RuntimeException based on the provided function. |
| Procedures | back to summary |
|---|---|
| private Procedures() | |
| append | back to summary |
|---|---|
| public static <T> Procedure | |
| bind | back to summary |
|---|---|
| public static <T, P> Procedure | |
| caseDefault | back to summary |
|---|---|
| public static <T> CaseProcedure | |
| caseDefault | back to summary |
|---|---|
| public static <T> CaseProcedure | |
| cast | back to summary |
|---|---|
| public static <T> Procedure Allows a Java 8 lambda and method to be used in a forEach method without requiring a cast. | |
| fromObjectIntProcedure | back to summary |
|---|---|
| public static <T> Procedure | |
| fromProcedureWithInt | back to summary |
|---|---|
| public static <T> Procedure Deprecated since 1.2 - Inlineable
| |
| ifElse | back to summary |
|---|---|
| public static <T> Procedure | |
| ifTrue | back to summary |
|---|---|
| public static <T> Procedure | |
| noop | back to summary |
|---|---|
| public static <T> Procedure | |
| println | back to summary |
|---|---|
| public static <T> Procedure | |
| synchronizedEach | back to summary |
|---|---|
| public static <T> Procedure | |
| throwing | back to summary |
|---|---|
| public static <T> Procedure Allows a lambda or anonymous inner class that needs to throw a checked exception to be safely wrapped as a Procedure that will throw a RuntimeException, wrapping the checked exception that is the cause. | |
| throwing | back to summary |
|---|---|
| public static <T> Procedure Allows a lambda or anonymous inner class that needs to throw a checked exception to be safely wrapped as a Procedure 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 final Appendable | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public String | |
| public void |
| appendable | back to summary |
|---|---|
| private final Appendable appendable | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| AppendProcedure | back to summary |
|---|---|
| private AppendProcedure(Appendable appendable) | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |
| value | back to summary |
|---|---|
| public void value(T each) Implements org.
| |
| Modifier and Type | Field and Description |
|---|---|
| private final P | |
| private final Procedure2 | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public void |
| parameter | back to summary |
|---|---|
| private final P parameter | |
| procedure | back to summary |
|---|---|
| private final Procedure2<? super T, ? super P> procedure | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| BindProcedure | back to summary |
|---|---|
| private BindProcedure(Procedure2<? super T, ? super P> procedure, P parameter) | |
| value | back to summary |
|---|---|
| public void value(T each) Implements org.
| |
| Modifier and Type | Field and Description |
|---|---|
| public static final Procedures. | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public static Procedures. | |
| public static Procedures. |
| INSTANCE | back to summary |
|---|---|
| public static final Procedures. | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| NoopProcedure | back to summary |
|---|---|
| private NoopProcedure() | |
| value | back to summary |
|---|---|
| public void value(Object each) Implements org.
| |
| valueOf | back to summary |
|---|---|
| public static Procedures. | |
| values | back to summary |
|---|---|
| public static Procedures. | |
| Modifier and Type | Field and Description |
|---|---|
| private int | |
| private final ObjectIntProcedure | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public void |
| count | back to summary |
|---|---|
| private int count | |
| objectIntProcedure | back to summary |
|---|---|
| private final ObjectIntProcedure<? super T> objectIntProcedure | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| ObjectIntProcedureAdapter | back to summary |
|---|---|
| private ObjectIntProcedureAdapter(ObjectIntProcedure<? super T> objectIntProcedure) | |
| value | back to summary |
|---|---|
| public void value(T each) Implements org.
| |
| Modifier and Type | Field and Description |
|---|---|
| private static final long | |
| private final PrintStream |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public void |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| stream | back to summary |
|---|---|
| private final PrintStream stream | |
| PrintlnProcedure | back to summary |
|---|---|
| private PrintlnProcedure(PrintStream stream) | |
| value | back to summary |
|---|---|
| public void value(T each) 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<T> procedure | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| SynchronizedProcedure | back to summary |
|---|---|
| private SynchronizedProcedure(Procedure<T> procedure) | |
| value | back to summary |
|---|---|
| public void value(T each) Implements org.
| |
| Modifier and Type | Field and Description |
|---|---|
| private static final long | |
| private final ThrowingProcedure |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public void |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides org. | |
| throwingProcedure | back to summary |
|---|---|
| private final ThrowingProcedure<T> throwingProcedure | |
| ThrowingProcedureAdapter | back to summary |
|---|---|
| private ThrowingProcedureAdapter(ThrowingProcedure<T> throwingProcedure) | |
| safeValue | back to summary |
|---|---|
| public void safeValue(T object) throws Exception Implements org.
| |