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.function |
Functional interfaces provide target types for lambda expressions
and method references.
|
java.util.stream |
Classes to support functional-style operations on streams of elements, such
as map-reduce transformations on collections.
|
javax.realtime |
Jamaica's implementation of the Real-Time Specification for Java.
|
Modifier and Type | Class and Description |
---|---|
class |
LongSummaryStatistics
A state object for collecting statistics such as count, min, max, sum, and
average.
|
Modifier and Type | Method and Description |
---|---|
default void |
Spliterator.OfLong.forEachRemaining(LongConsumer action) |
default void |
PrimitiveIterator.OfLong.forEachRemaining(LongConsumer action)
Performs the given action for each remaining element until all elements
have been processed or the action throws an exception.
|
void |
OptionalLong.ifPresent(LongConsumer consumer)
Have the specified consumer accept the value if a value is present,
otherwise do nothing.
|
boolean |
Spliterator.OfLong.tryAdvance(LongConsumer action) |
Modifier and Type | Method and Description |
---|---|
default LongConsumer |
LongConsumer.andThen(LongConsumer after)
Returns a composed
LongConsumer that performs, in sequence, this
operation followed by the after operation. |
Modifier and Type | Method and Description |
---|---|
default LongConsumer |
LongConsumer.andThen(LongConsumer after)
Returns a composed
LongConsumer that performs, in sequence, this
operation followed by the after operation. |
Modifier and Type | Interface and Description |
---|---|
static interface |
LongStream.Builder
A mutable builder for a
LongStream . |
Modifier and Type | Method and Description |
---|---|
void |
LongStream.forEach(LongConsumer action)
Performs an action for each element of this stream.
|
void |
LongStream.forEachOrdered(LongConsumer action)
Performs an action for each element of this stream, guaranteeing that
each element is processed in encounter order for streams that have a
defined encounter order.
|
LongStream |
LongStream.peek(LongConsumer action)
Returns a stream consisting of the elements of this stream, additionally
performing the provided action on each element as elements are consumed
from the resulting stream.
|
Constructor and Description |
---|
AsyncLongEventHandler(LongConsumer logic)
Calling this constructor is equivalent to calling
AsyncLongEventHandler.AsyncLongEventHandler(SchedulingParameters,
ReleaseParameters,
MemoryParameters,
MemoryArea,
ReleaseRunner,
LongConsumer)
with arguments (null, null, null, null, null, null, logic) . |
AsyncLongEventHandler(SchedulingParameters scheduling,
ReleaseParameters release,
LongConsumer logic)
Calling this constructor is equivalent to calling
AsyncLongEventHandler.AsyncLongEventHandler(SchedulingParameters,
ReleaseParameters,
MemoryParameters,
MemoryArea,
ReleaseRunner,
LongConsumer)
with arguments (scheduling, release, null, null, null, logic) . |
AsyncLongEventHandler(SchedulingParameters scheduling,
ReleaseParameters release,
MemoryParameters memory,
MemoryArea area,
ReleaseRunner runner,
LongConsumer logic)
Creates an asynchronous event handler that receives a
Long
payload with each fire. |
aicas GmbH, Karlsruhe, Germany —www.aicas.com
Copyright © 2001-2019 aicas GmbH. All Rights Reserved.