Package | Description |
---|---|
org.macroing.cit.java.util |
Provides common classes and interfaces that extends the APIs provided by
java.util . |
org.macroing.cit.java.util.function |
Provides common classes and interfaces that extends the APIs provided by
java.util.function . |
Modifier and Type | Method and Description |
---|---|
void |
OptionalShort.ifPresent(ShortConsumer consumer)
Have the specified
consumer accept the value if a value is present, otherwise do nothing. |
Modifier and Type | Method and Description |
---|---|
default ShortConsumer |
ShortConsumer.andThen(ShortConsumer after)
Returns a composed
ShortConsumer that performs, in sequence, this operation followed by the after operation. |
Modifier and Type | Method and Description |
---|---|
default ShortConsumer |
ShortConsumer.andThen(ShortConsumer after)
Returns a composed
ShortConsumer that performs, in sequence, this operation followed by the after operation. |