| Package | Description |
|---|---|
| org.eclipse.xtext.xbase.lib |
| Modifier and Type | Method and Description |
|---|---|
static <P1,P2> Procedures.Procedure1<P2> |
ProcedureExtensions.curry(Procedures.Procedure2<? super P1,? super P2> procedure,
P1 argument)
Curries a procedure that takes two arguments.
|
| Modifier and Type | Method and Description |
|---|---|
static <P1> Procedures.Procedure0 |
ProcedureExtensions.curry(Procedures.Procedure1<? super P1> procedure,
P1 argument)
Curries a procedure that takes one argument.
|
static <T> void |
IterableExtensions.forEach(Iterable<T> iterable,
Procedures.Procedure1<? super T> procedure)
Applies
procedure for each element of the given iterable. |
static <T> void |
IteratorExtensions.forEach(Iterator<T> iterator,
Procedures.Procedure1<? super T> procedure)
Applies
procedure for each element of the given iterator. |
static <T> T |
ObjectExtensions.operator_doubleArrow(T object,
Procedures.Procedure1<? super T> block)
The
doubleArrow operator is used as a 'with'- or 'let'-operation. |
Copyright © 2015. All Rights Reserved.