| Package | Description |
|---|---|
| java.lang |
Back 2 Browser Bytecode Translator
Copyright (C) 2012 Jaroslav Tulach
|
| java.util |
Back 2 Browser Bytecode Translator
Copyright (C) 2012 Jaroslav Tulach
|
| java.util.stream |
Classes to support functional-style operations on streams of elements, such
as map-reduce transformations on collections.
|
| Modifier and Type | Field and Description |
|---|---|
static Class<Long> |
Long.TYPE
The
Class instance representing the primitive type
long. |
| Modifier and Type | Method and Description |
|---|---|
static Long |
Long.decode(String nm)
Decodes a
String into a Long. |
static Long |
Long.getLong(String nm)
Determines the
long value of the system property
with the specified name. |
static Long |
Long.getLong(String nm,
long val)
Determines the
long value of the system property
with the specified name. |
static Long |
Long.getLong(String nm,
Long val)
Returns the
long value of the system property with
the specified name. |
static Long |
Long.valueOf(long l)
Returns a
Long instance representing the specified
long value. |
static Long |
Long.valueOf(String s)
Returns a
Long object holding the value
of the specified String. |
static Long |
Long.valueOf(String s,
int radix)
Returns a
Long object holding the value
extracted from the specified String when parsed
with the radix given by the second argument. |
| Modifier and Type | Method and Description |
|---|---|
int |
Long.compareTo(Long anotherLong)
Compares two
Long objects numerically. |
static Long |
Long.getLong(String nm,
Long val)
Returns the
long value of the system property with
the specified name. |
| Modifier and Type | Method and Description |
|---|---|
default Long |
PrimitiveIterator.OfLong.next()
Returns the next element in the iteration.
|
| Modifier and Type | Method and Description |
|---|---|
default void |
Spliterator.OfLong.forEachRemaining(Consumer<? super Long> action)
Performs the given action for each remaining element, sequentially in
the current thread, until all elements have been processed or the action
throws an exception.
|
default void |
PrimitiveIterator.OfLong.forEachRemaining(Consumer<? super Long> action)
Performs the given action for each remaining element until all elements
have been processed or the action throws an exception.
|
default boolean |
Spliterator.OfLong.tryAdvance(Consumer<? super Long> action)
If a remaining element exists, performs the given action on it,
returning
true; else returns false. |
| Modifier and Type | Method and Description |
|---|---|
Stream<Long> |
LongStream.boxed()
Returns a
Stream consisting of the elements of this stream,
each boxed to a Long. |
static <T> Collector<T,?,Long> |
Collectors.counting()
Returns a
Collector accepting elements of type T that
counts the number of input elements. |
static <T> Collector<T,?,Long> |
Collectors.summingLong(ToLongFunction<? super T> mapper)
Returns a
Collector that produces the sum of a long-valued
function applied to the input elements. |
Copyright © 2021 API Design. All Rights Reserved.