I would like to know if there is a way to convert Predicate to String . For example, there will be a function:
public static <T> String convertPredicate(Predicate<T> objPredicate) { return ?... }
So that the next call returns (obj) -> obj.value== 1 :
convertPredicate((obj) -> obj.value== 1)
java string lambda predicate
Omer haimovich
source share