| Package | Description |
|---|---|
| org.eclipse.xtext.xbase.lib |
| Modifier and Type | Method and Description |
|---|---|
static <P1,P2,P3> Procedures.Procedure2<P2,P3> |
ProcedureExtensions.curry(Procedures.Procedure3<? super P1,? super P2,? super P3> procedure,
P1 argument)
Curries a procedure that takes three arguments.
|
| 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.
|
static <T> void |
IterableExtensions.forEach(Iterable<T> iterable,
Procedures.Procedure2<? super T,? super Integer> procedure)
Applies
procedure for each element of the given iterable. |
static <T> void |
IteratorExtensions.forEach(Iterator<T> iterator,
Procedures.Procedure2<? super T,? super Integer> procedure)
Applies
procedure for each element of the given iterator. |
static <K,V> void |
MapExtensions.forEach(Map<K,V> map,
Procedures.Procedure2<? super K,? super V> procedure)
|
Copyright © 2015. All Rights Reserved.