Package | Description |
---|---|
net.hydromatic.linq4j |
Language-integrated query for Java (linq4j) main package.
|
net.hydromatic.linq4j.function |
Contains definitions of functions and predicates.
|
Modifier and Type | Method and Description |
---|---|
static <TSource,TKey,TAccumulate,TResult> |
EnumerableDefaults.groupBy(Enumerable<TSource> enumerable,
Function1<TSource,TKey> keySelector,
Function0<TAccumulate> accumulatorInitializer,
Function2<TAccumulate,TSource,TAccumulate> accumulatorAdder,
Function2<TKey,TAccumulate,TResult> resultSelector)
Groups the elements of a sequence according to a
specified key selector function, initializing an accumulator for each
group and adding to it each time an element with the same key is seen.
|
static <TSource,TKey,TAccumulate,TResult> |
EnumerableDefaults.groupBy(Enumerable<TSource> enumerable,
Function1<TSource,TKey> keySelector,
Function0<TAccumulate> accumulatorInitializer,
Function2<TAccumulate,TSource,TAccumulate> accumulatorAdder,
Function2<TKey,TAccumulate,TResult> resultSelector,
EqualityComparer<TKey> comparer)
Groups the elements of a sequence according to a
specified key selector function, initializing an accumulator for each
group and adding to it each time an element with the same key is seen.
|
<TKey,TAccumulate,TResult> |
ExtendedEnumerable.groupBy(Function1<TSource,TKey> keySelector,
Function0<TAccumulate> accumulatorInitializer,
Function2<TAccumulate,TSource,TAccumulate> accumulatorAdder,
Function2<TKey,TAccumulate,TResult> resultSelector)
Groups the elements of a sequence according to a
specified key selector function, initializing an accumulator for each
group and adding to it each time an element with the same key is seen.
|
<TKey,TAccumulate,TResult> |
ExtendedEnumerable.groupBy(Function1<TSource,TKey> keySelector,
Function0<TAccumulate> accumulatorInitializer,
Function2<TAccumulate,TSource,TAccumulate> accumulatorAdder,
Function2<TKey,TAccumulate,TResult> resultSelector,
EqualityComparer<TKey> comparer)
Groups the elements of a sequence according to a
specified key selector function, initializing an accumulator for each
group and adding to it each time an element with the same key is seen.
|
<TKey,TAccumulate,TResult> |
DefaultEnumerable.groupBy(Function1<T,TKey> keySelector,
Function0<TAccumulate> accumulatorInitializer,
Function2<TAccumulate,T,TAccumulate> accumulatorAdder,
Function2<TKey,TAccumulate,TResult> resultSelector) |
<TKey,TAccumulate,TResult> |
DefaultEnumerable.groupBy(Function1<T,TKey> keySelector,
Function0<TAccumulate> accumulatorInitializer,
Function2<TAccumulate,T,TAccumulate> accumulatorAdder,
Function2<TKey,TAccumulate,TResult> resultSelector,
EqualityComparer<TKey> comparer) |
Modifier and Type | Method and Description |
---|---|
static <R> Function0<R> |
Functions.ignore0()
Returns a function of arity 0 that does nothing.
|
Copyright © 2012-2014 Julian Hyde. All Rights Reserved.