函数式Java框架 Functional Java

码农软件 · 软件分类 · 其他开发相关 · 2019-10-25 08:14:02

软件介绍

在生产环境中为Java增加很多函数式语言结构。

Example:

 过滤出数组中的偶数

  1. import fj.data.Array;  
  2. import static fj.data.Array.array;  
  3. import static fj.pre.Show.arrayShow;  
  4. import static fj.pre.Show.intShow;  
  5. import static fj.function.Integers.even;  
  6.   
  7. public final class Array_filter {  
  8.   public static void main(final String[] args) {  
  9.     final Array a = array(97, 44, 67, 3, 22, 90, 1, 77, 98, 1078, 6, 64, 6, 79, 42);  
  10.     final Array b = a.filter(even);  
  11.     arrayShow(intShow).println(b); // {44,22,90,98,1078,6,64,6,42}  
  12.   }  
  13. }  

本文地址:https://www.codercto.com/soft/d/17509.html

PHP and MySQL Web Development

PHP and MySQL Web Development

Luke Welling、Laura Thomson / Sams / July 25, 2007 / $49.99

Book Description PHP and MySQL Web Development teaches you to develop dynamic, secure, commerical Web sites. Using the same accessible, popular teaching style of the three previous editions, this b......一起来看看 《PHP and MySQL Web Development》 这本书的介绍吧!

CSS 压缩/解压工具
CSS 压缩/解压工具

在线压缩/解压 CSS 代码

在线进制转换器
在线进制转换器

各进制数互转换器

MD5 加密
MD5 加密

MD5 加密工具