|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Lambda | |
---|---|
edu.cmu.cs.crystal.util | Several utilities that other analysis writers have found useful. |
Uses of Lambda in edu.cmu.cs.crystal.util |
---|
Methods in edu.cmu.cs.crystal.util with parameters of type Lambda | ||
---|---|---|
ConsList<T> |
ConsList.filter(Lambda<? super T,? extends Boolean> lam)
Given a 'first-class function' that takes elements of type T and returns a boolean, call that function on every element of this list, returning a new list that only contains
the elements for which the function call returned true. |
|
|
ConsList.map(Lambda<? super T,? extends O> lam)
Given a 'first-class function' that takes elements of type T and returns elements of type O, call that function on every element of this list, returning a new list
of Os. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |