- 授权协议: MIT
- 开发语言: Java
- 操作系统: 跨平台
- 软件首页: https://github.com/wkgcass/Style
- 软件文档: http://blog.cassite.net/JAVA/Style
- 官方下载: https://github.com/wkgcass/Style
软件介绍
Style 给 Java 8 带来其他语言高效的编程风格。
Style 通过精心挑选的方法/类名来模拟其他语言。
Style 致力于让你的编码更加美观,进行更少的重复编码,以及提升可读性。
代码示例:
// define a function to see if list contain a person with given name:
def<Boolean> check = $(
(List<Person> ls, String name) -> null != $(list).forEach(e -> {
if (e.name().equals(name))
return true;
return null;
}));
check.apply(list, "cass");
// If expression with return value:
System.out.println(If(
$(list).findOne(e -> e.name().equals("cass")),
res -> {
return res.id();
}).Else(() -> "Not Found!"));
// forEach with iterator info
$(list).forEach((e, i) -> System.out.println(
"Element is:" + e + " Index is:" + $(i)));
// dozens of new features waiting for you to explore.
C# 6.0本质论
[美] Mark Michaelis(马克·米凯利斯)、[美] Eric Lippert(埃里克·利珀特) / 周靖、庞燕 / 人民邮电出版社 / 2017-2-1 / 108
这是C#领域中一部广受好评的名作,作者用一种易于理解的方式详细介绍了C#语言的各个方面。全书共有21章和4个附录(其中哟2个附录从网上下载),介绍了C#语言的数据类型、操作符、方法、类、接口、异常处理等基本概念,深入讨论了泛型、迭代器、反射、线程和互操作性等高级主题,还介绍了LINQ技术,以及与其相关的扩展方法、分部方法、Lambda表达式、标准查询操作符和查询表达式等内容。每章开头的“思维导图”......一起来看看 《C# 6.0本质论》 这本书的介绍吧!
