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> long |
EnumerableDefaults.average(Enumerable<TSource> source,
LongFunction1<TSource> selector)
Computes the average of a sequence of long values
that are obtained by invoking a transform function on each
element of the input sequence.
|
long |
DefaultEnumerable.average(LongFunction1<T> selector) |
long |
ExtendedEnumerable.average(LongFunction1<TSource> selector)
Computes the average of a sequence of long values
that are obtained by invoking a transform function on each
element of the input sequence.
|
static <TSource> long |
EnumerableDefaults.max(Enumerable<TSource> source,
LongFunction1<TSource> selector)
Invokes a transform function on each element of a
sequence and returns the maximum long value.
|
long |
DefaultEnumerable.max(LongFunction1<T> selector) |
long |
ExtendedEnumerable.max(LongFunction1<TSource> selector)
Invokes a transform function on each element of a
sequence and returns the maximum long value.
|
static <TSource> long |
EnumerableDefaults.min(Enumerable<TSource> source,
LongFunction1<TSource> selector)
Invokes a transform function on each element of a
sequence and returns the minimum long value.
|
long |
DefaultEnumerable.min(LongFunction1<T> selector) |
long |
ExtendedEnumerable.min(LongFunction1<TSource> selector)
Invokes a transform function on each element of a
sequence and returns the minimum long value.
|
static <TSource> long |
EnumerableDefaults.sum(Enumerable<TSource> source,
LongFunction1<TSource> selector)
Computes the sum of the sequence of long values
that are obtained by invoking a transform function on each
element of the input sequence.
|
long |
DefaultEnumerable.sum(LongFunction1<T> selector) |
long |
ExtendedEnumerable.sum(LongFunction1<TSource> selector)
Computes the sum of the sequence of long values
that are obtained by invoking a transform function on each
element of the input sequence.
|
Modifier and Type | Method and Description |
---|---|
long |
QueryableFactory.averageLong(Queryable<T> source,
FunctionExpression<LongFunction1<T>> selector)
Computes the average of a sequence of long values
that is obtained by invoking a projection function on each
element of the input sequence.
|
long |
QueryableRecorder.averageLong(Queryable<T> source,
FunctionExpression<LongFunction1<T>> selector) |
static <T> long |
QueryableDefaults.averageLong(Queryable<T> queryable,
FunctionExpression<LongFunction1<T>> selector)
Computes the average of a sequence of long values
that is obtained by invoking a projection function on each
element of the input sequence.
|
long |
QueryableFactory.sumLong(Queryable<T> source,
FunctionExpression<LongFunction1<T>> selector)
Computes the sum of the sequence of long values
that is obtained by invoking a projection function on each
element of the input sequence.
|
long |
QueryableRecorder.sumLong(Queryable<T> source,
FunctionExpression<LongFunction1<T>> selector) |
static <T> long |
QueryableDefaults.sumLong(Queryable<T> source,
FunctionExpression<LongFunction1<T>> selector)
Computes the sum of the sequence of long values
that is obtained by invoking a projection function on each
element of the input sequence.
|
Modifier and Type | Method and Description |
---|---|
static <T1> Function1<T1,Long> |
Functions.adapt(LongFunction1<T1> f)
|
Copyright © 2012-2014 Julian Hyde. All Rights Reserved.