您的位置:首页 > 移动开发 > Objective-C

Linq to Objects for Java 发布 1.0.1 版本

2017-08-16 17:52 302 查看
现在 java 支持 linq 啦.比原生 stream api 更好用,功能更强大.现已发布 version 1.0.1

地址: https://github.com/timandy/linq.

API of IEnumerable

where

select

selectMany

take

takeWhile

skip

skipWhile

join

groupJoin

orderBy

orderByDescending

groupBy

concat

zip

distinct

union

intersect

except

reverse

sequenceEqual

toArray

toList

toMap

toLookup

defaultIfEmpty

ofType

cast

first

firstOrDefault

last

lastOrDefault

single

singleOrDefault

elementAt

elementAtOrDefault

any

all

count

longCount

contains

aggregate

sum

min

max

average

leftJoin

rightJoin

fullJoin

crossJoin

distinctBy

unionBy

intersectBy

exceptBy

minBy

maxBy

append

API of IOrderedEnumerable

thenBy

thenByDescending
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: