Java函数式编程 Funcito

fmms 12年前

Funcito 是一个 Java 类库,通过封装函数类型对象来简化访问你喜爱的函数式编程 APIs。
Java函数式编程 Funcito

 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; }   }

项目主页:http://www.open-open.com/lib/view/home/1333529531655