Uses of Interface
org.eclipse.xtext.xbase.lib.Procedures.Procedure2
Packages that use Procedures.Procedure2
-
Uses of Procedures.Procedure2 in org.eclipse.xtext.xbase.lib
Methods in org.eclipse.xtext.xbase.lib that return Procedures.Procedure2Modifier and TypeMethodDescriptionstatic <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.Methods in org.eclipse.xtext.xbase.lib with parameters of type Procedures.Procedure2Modifier and TypeMethodDescriptionstatic <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> voidIterableExtensions.forEach(Iterable<T> iterable, Procedures.Procedure2<? super T, ? super Integer> procedure) Appliesprocedurefor each element of the given iterable.static <T> voidIteratorExtensions.forEach(Iterator<T> iterator, Procedures.Procedure2<? super T, ? super Integer> procedure) Appliesprocedurefor each element of the given iterator.static <K,V> void MapExtensions.forEach(Map<K, V> map, Procedures.Procedure2<? super K, ? super V> procedure)