@Generated(value={"Immutables.generator","End<S>"}) public final class ImmutableEnd<S> extends Object implements End<S>
End.
Use the builder to create immutable instances:
ImmutableEnd.<S>builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
ImmutableEnd.Builder<S>
Builds instances of type
ImmutableEnd. |
Route.Transition<D>| Modifier and Type | Method and Description |
|---|---|
static <S> ImmutableEnd.Builder<S> |
builder()
Creates a builder for
ImmutableEnd. |
static <S> ImmutableEnd<S> |
copyOf(End<S> instance)
Creates an immutable copy of a
End value. |
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutableEnd that have equal attribute values. |
int |
hashCode()
Computes a hash code from attributes:
start. |
NamedType<S> |
start() |
String |
toString()
Prints the immutable value
End with attribute values. |
ImmutableEnd<S> |
withStart(NamedType<S> value)
Copy the current immutable object by setting a value for the
start attribute. |
public final ImmutableEnd<S> withStart(NamedType<S> value)
start attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for startthis objectpublic boolean equals(Object another)
ImmutableEnd that have equal attribute values.public int hashCode()
start.public String toString()
End with attribute values.public static <S> ImmutableEnd<S> copyOf(End<S> instance)
End value.
Uses accessors to get values to initialize the new immutable instance.
If an instance is already immutable, it is returned as is.S - generic parameter Sinstance - The instance to copypublic static <S> ImmutableEnd.Builder<S> builder()
ImmutableEnd.S - generic parameter SCopyright © 2017. All rights reserved.