@ParametersAreNonnullByDefault @Generated(value="org.immutables.processor.ProxyProcessor") @Immutable @CheckReturnValue public final class ImmutableAlternativeConstructor extends AlternativeConstructor
| Modifier and Type | Class and Description |
|---|---|
static class |
ImmutableAlternativeConstructor.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ImmutableAlternativeConstructor.Builder |
builder() |
static ImmutableAlternativeConstructor |
copyOf(AlternativeConstructor instance) |
boolean |
equals(Object another) |
com.google.common.collect.ImmutableList<String> |
foo() |
int |
hashCode() |
static ImmutableAlternativeConstructor |
of(Iterable<String> foo) |
static ImmutableAlternativeConstructor |
of(List<String> foo) |
String |
toString() |
ImmutableAlternativeConstructor |
withFoo(Iterable<String> elements) |
ImmutableAlternativeConstructor |
withFoo(String... elements) |
mainpublic com.google.common.collect.ImmutableList<String> foo()
public final ImmutableAlternativeConstructor withFoo(String... elements)
public final ImmutableAlternativeConstructor withFoo(Iterable<String> elements)
public int hashCode()
public String toString()
public static ImmutableAlternativeConstructor of(List<String> foo)
public static ImmutableAlternativeConstructor of(Iterable<String> foo)
public static ImmutableAlternativeConstructor copyOf(AlternativeConstructor instance)
public static ImmutableAlternativeConstructor.Builder builder()
Copyright © 2022 The Immutables.org authors. All rights reserved.