public final class Procedures
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Procedures.SynchronizedProcedure<T> |
| Modifier and Type | Method and Description |
|---|---|
static <T> com.gs.collections.api.block.procedure.Procedure<T> |
append(java.lang.Appendable appendable) |
static <T,P> com.gs.collections.api.block.procedure.Procedure<T> |
bind(com.gs.collections.api.block.procedure.Procedure2<? super T,? super P> procedure,
P parameter) |
static <T> CaseProcedure<T> |
caseDefault(com.gs.collections.api.block.procedure.Procedure<? super T> defaultProcedure) |
static <T> CaseProcedure<T> |
caseDefault(com.gs.collections.api.block.procedure.Procedure<? super T> defaultProcedure,
com.gs.collections.api.block.predicate.Predicate<? super T> predicate,
com.gs.collections.api.block.procedure.Procedure<? super T> procedure) |
static <T> com.gs.collections.api.block.procedure.Procedure<T> |
cast(com.gs.collections.api.block.procedure.Procedure<T> procedure)
Allows a Java 8 lambda and method to be used in a forEach method without requiring a cast.
|
static <T> com.gs.collections.api.block.procedure.Procedure<T> |
fromObjectIntProcedure(com.gs.collections.api.block.procedure.primitive.ObjectIntProcedure<? super T> objectIntProcedure) |
static <T> com.gs.collections.api.block.procedure.Procedure<T> |
fromProcedureWithInt(com.gs.collections.api.block.procedure.primitive.ObjectIntProcedure<? super T> objectIntProcedure)
Deprecated.
since 1.2 - Inlineable
|
static <T> com.gs.collections.api.block.procedure.Procedure<T> |
ifElse(com.gs.collections.api.block.predicate.Predicate<? super T> predicate,
com.gs.collections.api.block.procedure.Procedure<? super T> trueProcedure,
com.gs.collections.api.block.procedure.Procedure<? super T> falseProcedure) |
static <T> com.gs.collections.api.block.procedure.Procedure<T> |
ifTrue(com.gs.collections.api.block.predicate.Predicate<? super T> predicate,
com.gs.collections.api.block.procedure.Procedure<? super T> block) |
static <T> com.gs.collections.api.block.procedure.Procedure<T> |
println(java.io.PrintStream stream) |
static <T> com.gs.collections.api.block.procedure.Procedure<T> |
synchronizedEach(com.gs.collections.api.block.procedure.Procedure<T> procedure) |
static <T> com.gs.collections.api.block.procedure.Procedure<T> |
throwing(ThrowingProcedure<T> throwingProcedure) |
public static <T> com.gs.collections.api.block.procedure.Procedure<T> cast(com.gs.collections.api.block.procedure.Procedure<T> procedure)
public static <T> com.gs.collections.api.block.procedure.Procedure<T> println(java.io.PrintStream stream)
public static <T> com.gs.collections.api.block.procedure.Procedure<T> append(java.lang.Appendable appendable)
public static <T> com.gs.collections.api.block.procedure.Procedure<T> throwing(ThrowingProcedure<T> throwingProcedure)
@Deprecated public static <T> com.gs.collections.api.block.procedure.Procedure<T> fromProcedureWithInt(com.gs.collections.api.block.procedure.primitive.ObjectIntProcedure<? super T> objectIntProcedure)
public static <T> com.gs.collections.api.block.procedure.Procedure<T> fromObjectIntProcedure(com.gs.collections.api.block.procedure.primitive.ObjectIntProcedure<? super T> objectIntProcedure)
public static <T> com.gs.collections.api.block.procedure.Procedure<T> ifTrue(com.gs.collections.api.block.predicate.Predicate<? super T> predicate,
com.gs.collections.api.block.procedure.Procedure<? super T> block)
public static <T> com.gs.collections.api.block.procedure.Procedure<T> ifElse(com.gs.collections.api.block.predicate.Predicate<? super T> predicate,
com.gs.collections.api.block.procedure.Procedure<? super T> trueProcedure,
com.gs.collections.api.block.procedure.Procedure<? super T> falseProcedure)
public static <T> CaseProcedure<T> caseDefault(com.gs.collections.api.block.procedure.Procedure<? super T> defaultProcedure)
public static <T> CaseProcedure<T> caseDefault(com.gs.collections.api.block.procedure.Procedure<? super T> defaultProcedure, com.gs.collections.api.block.predicate.Predicate<? super T> predicate, com.gs.collections.api.block.procedure.Procedure<? super T> procedure)
public static <T> com.gs.collections.api.block.procedure.Procedure<T> synchronizedEach(com.gs.collections.api.block.procedure.Procedure<T> procedure)
public static <T,P> com.gs.collections.api.block.procedure.Procedure<T> bind(com.gs.collections.api.block.procedure.Procedure2<? super T,? super P> procedure,
P parameter)