@ParametersAreNonnullByDefault @Generated(value={"Immutables.generator","SillyEntity"}) @Immutable public final class ImmutableSillyEntity extends SillyEntity
| Modifier and Type | Class and Description |
|---|---|
static class |
ImmutableSillyEntity.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ImmutableSillyEntity.Builder |
builder() |
static ImmutableSillyEntity |
copyOf(SillyEntity instance) |
com.google.common.primitives.UnsignedInteger |
der() |
boolean |
equals(Object another) |
int |
hashCode() |
int |
id() |
com.google.common.collect.ImmutableList<Integer> |
ints() |
com.google.common.collect.ImmutableMap<String,Integer> |
payload() |
String |
toString() |
String |
val() |
ImmutableSillyEntity |
withId(int value) |
ImmutableSillyEntity |
withInts(int... elements) |
ImmutableSillyEntity |
withInts(Iterable<Integer> elements) |
ImmutableSillyEntity |
withPayload(Map<String,? extends Integer> entries) |
ImmutableSillyEntity |
withVal(String value) |
public int id()
public String val()
public com.google.common.collect.ImmutableList<Integer> ints()
public com.google.common.primitives.UnsignedInteger der()
public final ImmutableSillyEntity withId(int value)
public final ImmutableSillyEntity withVal(String value)
public final ImmutableSillyEntity withPayload(Map<String,? extends Integer> entries)
public final ImmutableSillyEntity withInts(int... elements)
public final ImmutableSillyEntity withInts(Iterable<Integer> elements)
public int hashCode()
public String toString()
public static ImmutableSillyEntity copyOf(SillyEntity instance)
public static ImmutableSillyEntity.Builder builder()
Copyright © 2017 The Immutables.org authors. All rights reserved.