| Package | Description |
|---|---|
| de.flapdoodle.os.common |
| Modifier and Type | Method and Description |
|---|---|
ImmutableOneOf |
ImmutableOneOf.Builder.build()
Builds a new
ImmutableOneOf. |
static ImmutableOneOf |
ImmutableOneOf.copyOf(OneOf instance)
Creates an immutable copy of a
OneOf value. |
static ImmutableOneOf |
ImmutableOneOf.of(Iterable<? extends DistinctPeculiarity<?>> pecularities)
Construct a new immutable
OneOf instance. |
static ImmutableOneOf |
ImmutableOneOf.of(List<DistinctPeculiarity<?>> pecularities)
Construct a new immutable
OneOf instance. |
ImmutableOneOf |
ImmutableOneOf.withPecularities(DistinctPeculiarity<?>... elements)
Copy the current immutable object with elements that replace the content of
pecularities. |
ImmutableOneOf |
ImmutableOneOf.withPecularities(Iterable<? extends DistinctPeculiarity<?>> elements)
Copy the current immutable object with elements that replace the content of
pecularities. |
Copyright © 2022. All rights reserved.