public interface Identifier
Identifier.Specified
or Unset.UNSET
Modifier and Type | Interface and Description |
---|---|
static interface |
Identifier.Specified
A specified identifier that exposes a definitely present identifier value.
|
Modifier and Type | Method and Description |
---|---|
Optional<?> |
getOptionalValue()
Returns the identifier value.
|
static Identifier.Specified |
of(Object identifier)
Creates a new
Identifier.Specified identifier for the given, non-null value. |
static Identifier |
ofNullable(Object identifier)
Produces an
Identifier of appropriate type depending the argument being null or not. |
static Identifier.Specified of(Object identifier)
Identifier.Specified
identifier for the given, non-null value.identifier
- must not be null.static Identifier ofNullable(@Nullable Object identifier)
Identifier
of appropriate type depending the argument being null
or not.identifier
- May be null
.Identifier
.Optional<?> getOptionalValue()
null
.Copyright © 2017–2020 Pivotal Software, Inc.. All rights reserved.