@Generated(value={"Immutables.generator","FfbPin"}) public final class ImmutableFfbPin extends FfbPin
FfbPin.
Use the builder to create immutable instances:
ImmutableFfbPin.builder().
Use the static factory method to create immutable instances:
ImmutableFfbPin.of().
| Modifier and Type | Class and Description |
|---|---|
static class |
ImmutableFfbPin.Builder
Builds instances of type
ImmutableFfbPin. |
| Modifier and Type | Method and Description |
|---|---|
static ImmutableFfbPin.Builder |
builder()
Creates a builder for
ImmutableFfbPin. |
static ImmutableFfbPin |
copyOf(FfbPin instance)
Creates an immutable copy of a
FfbPin value. |
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutableFfbPin that have equal attribute values. |
char[] |
getPin() |
int |
hashCode()
Computes a hash code from attributes:
pin. |
static ImmutableFfbPin |
of(char[] pin)
Construct a new immutable
FfbPin instance. |
String |
toString()
Prints the immutable value
FfbPin with attribute values. |
ImmutableFfbPin |
withPin(char... elements)
Copy the current immutable object with elements that replace the content of
pin. |
getPinAsString, ofpublic final ImmutableFfbPin withPin(char... elements)
pin.
The array is cloned before being saved as attribute values.elements - The non-null elements for pinthis objectpublic boolean equals(Object another)
ImmutableFfbPin that have equal attribute values.public int hashCode()
pin.public String toString()
FfbPin with attribute values.public static ImmutableFfbPin of(char[] pin)
FfbPin instance.pin - The value for the pin attributepublic static ImmutableFfbPin copyOf(FfbPin instance)
FfbPin value.
Uses accessors to get values to initialize the new immutable instance.
If an instance is already immutable, it is returned as is.instance - The instance to copypublic static ImmutableFfbPin.Builder builder()
ImmutableFfbPin.Copyright © 2018. All rights reserved.