Java Interface Like Predicate but Without Argument -
as stated in title, i'm looking preexisting functional interface predicate 1 test method takes no arguments. if such animal exists, i’d appreciate reference.
thanks.
you're looking booleansupplier.
https://docs.oracle.com/javase/8/docs/api/java/util/function/booleansupplier.html
Comments
Post a Comment