@NotThreadSafe public static final class ImmutableAllowNullsObject.Builder extends Object
| Modifier and Type | Method and Description |
|---|---|
ImmutableAllowNullsObject.Builder |
addAllList(Iterable<String> elements) |
ImmutableAllowNullsObject.Builder |
addList(String... elements) |
ImmutableAllowNullsObject.Builder |
addList(String element) |
ImmutableAllowNullsObject |
build() |
ImmutableAllowNullsObject.Builder |
from(AllowNullsObject instance) |
ImmutableAllowNullsObject.Builder |
from(ModifiableAllowNullsObject instance) |
ImmutableAllowNullsObject.Builder |
list(Iterable<String> elements) |
ImmutableAllowNullsObject.Builder |
map(Map<String,? extends String> entries) |
ImmutableAllowNullsObject.Builder |
putAllMap(Map<String,? extends String> entries) |
ImmutableAllowNullsObject.Builder |
putMap(Map.Entry<String,? extends String> entry) |
ImmutableAllowNullsObject.Builder |
putMap(String key,
String value) |
@CanIgnoreReturnValue public final ImmutableAllowNullsObject.Builder from(ModifiableAllowNullsObject instance)
@CanIgnoreReturnValue public final ImmutableAllowNullsObject.Builder from(AllowNullsObject instance)
@CanIgnoreReturnValue public final ImmutableAllowNullsObject.Builder putMap(@Nullable String key, @Nullable String value)
@CanIgnoreReturnValue public final ImmutableAllowNullsObject.Builder putMap(Map.Entry<String,? extends String> entry)
@CanIgnoreReturnValue public final ImmutableAllowNullsObject.Builder map(Map<String,? extends String> entries)
@CanIgnoreReturnValue public final ImmutableAllowNullsObject.Builder putAllMap(Map<String,? extends String> entries)
@CanIgnoreReturnValue public final ImmutableAllowNullsObject.Builder addList(@Nullable String element)
@CanIgnoreReturnValue public final ImmutableAllowNullsObject.Builder addList(String... elements)
@CanIgnoreReturnValue public final ImmutableAllowNullsObject.Builder list(Iterable<String> elements)
@CanIgnoreReturnValue public final ImmutableAllowNullsObject.Builder addAllList(Iterable<String> elements)
public ImmutableAllowNullsObject build()
Copyright © 2022 The Immutables.org authors. All rights reserved.