函数式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(9744673229017798107866467942);  
  10.     final Array b = a.filter(even);  
  11.     arrayShow(intShow).println(b); // {44,22,90,98,1078,6,64,6,42}  
  12.   }  
  13. }  

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

D3.js in Action

D3.js in Action

Elijah Meeks / Manning Publications / 2014-3 / USD 44.99

Table of Contents Part 1: An Introduction to D3 1 An introduction to D3.js 2 Information Visualization Data Flow 3 D ata-Driven Design and Interaction Part 2: The Pillars of Information......一起来看看 《D3.js in Action》 这本书的介绍吧!

随机密码生成器
随机密码生成器

多种字符组合密码

XML 在线格式化
XML 在线格式化

在线 XML 格式化压缩工具

HEX HSV 转换工具
HEX HSV 转换工具

HEX HSV 互换工具