| Package | Description |
|---|---|
| io.atlassian.fugue |
| Modifier and Type | Field and Description |
|---|---|
static Monoid<Unit> |
Monoids.unit
A monoid for the Unit value.
|
| Modifier and Type | Method and Description |
|---|---|
static Unit |
Unit.Unit()
Provide ability to statically import
Unit.UNIT and then use
UNIT() within your code, primarily for readability purposes. |
static Unit |
Unit.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Unit[] |
Unit.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static <D> Function<D,Unit> |
Functions.fromConsumer(Consumer<D> consumer)
Get a function (with
Unit return type) that calls the consumer for
all inputs. |
Copyright © 2018 Atlassian. All rights reserved.