Java8

1、  (1)Predicate       T->boolean

  (2)Consumer      T->void

  (3)Function         T->R

  (4)Supplier<T>         ()->T

   (5)UnaryOperator<T>   T->T

  (6)BinaryOperator<T>  (T,T)->T

  (7)BiPredicate<L,R>   (L,R)->boolean

  (7)BiConsumer<T,U>   (T,U)->void

  (8)BiFunction<T,U,R>  (T,U)->R

posted @ 2017-12-13 09:18  ontway  阅读(170)  评论(0编辑  收藏  举报