FluentSource:用于 Guava CharSource 编组到对象源的 Fluent API

时间:2021-06-03 08:26:15
【文件属性】:
文件名称:FluentSource:用于 Guava CharSource 编组到对象源的 Fluent API
文件大小:60KB
文件格式:ZIP
更新时间:2021-06-03 08:26:15
Java 概要 FluentSource 是一个 Fluent API,用于将 [Guava CharSource] ( ) 编组到对象源中。 代码示例 下面的示例演示了将 CharSource 包装并转换为整数源,并过滤掉奇数以计算总和。 int sumOfEven = FluentSource . on( CharSource . wrap( " 1,2,3,4,5 " ), " , " ) .transform( new Function< String> () { @Override public Integer apply ( String input ) { return Integer . valueOf(input); } }) .filter( new Pre
【文件预览】:
FluentSource-master
----gradle()
--------wrapper()
----README.md(2KB)
----build.gradle(733B)
----gradlew.bat(2KB)
----gradlew(5KB)
----src()
--------test()
--------main()
----settings.gradle(35B)

网友评论