Java函数式编程 Funcito
                 fmms
                 13年前
            
                    Funcito 是一个 Java 类库,通过封装函数类型对象来简化访问你喜爱的函数式编程 APIs。
  
  
 public class Worker {      private int badgeNum;      private String lastName;      private String firstName;      private boolean employee;          public Worker(int badgeNum) { this.badgeNum = badgeNum; }      // ... setters would be here too...          public int getBadgeNum { return badgeNum; }      public String getLastName; { return lastName; }      public String getFirstName { return firstName; }      public boolean isEmployee { return employee; }   }