Spec-Zone .ru
спецификации, руководства, описания, API
|
Package | Description |
---|---|
java.util |
Contains the collections framework, legacy collection classes, event model,
date and time facilities, internationalization, and miscellaneous utility
classes (a string tokenizer, a random-number generator, and a bit array).
|
java.util.stream |
java.util.stream
|
Modifier and Type | Method and Description |
---|---|
static <T> Comparator<T> |
Comparators.comparing(ToLongFunction<? super T> keyExtractor)
Accepts a function that extracts a
long value from a type T , and returns a Comparator<T> that compares by that value. |
default Comparator<T> |
Comparator.thenComparing(ToLongFunction<? super T> keyExtractor)
Constructs a lexicographic order comparator with a function that
extracts a
long value. |
Modifier and Type | Method and Description |
---|---|
LongStream |
DelegatingStream.mapToLong(ToLongFunction<? super T> mapper) |
LongStream |
Stream.mapToLong(ToLongFunction<? super T> mapper)
Returns a
LongStream consisting of the results of applying the
given function to the elements of this stream. |
static <T> Collector<T,LongSummaryStatistics> |
Collectors.toLongSummaryStatistics(ToLongFunction<? super T> mapper)
Returns a
Collector which applies an long -producing
mapping function to each input element, and returns summary statistics
for the resulting values. |
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2013, Oracle and/or its affiliates. All rights reserved.
DRAFT ea-b92