@ParametersAreNonnullByDefault @Generated(value="org.immutables.processor.ProxyProcessor") @Immutable @CheckReturnValue public final class ImmutableRaftIndex extends RaftIndex
RaftIndex.
Use the builder to create immutable instances:
ImmutableRaftIndex.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
ImmutableRaftIndex.Builder
Builds instances of type
ImmutableRaftIndex. |
| Modifier and Type | Method and Description |
|---|---|
static ImmutableRaftIndex.Builder |
builder()
Creates a builder for
ImmutableRaftIndex. |
static ImmutableRaftIndex |
copyOf(RaftIndex instance)
Creates an immutable copy of a
RaftIndex value. |
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutableRaftIndex that have equal attribute values. |
int |
hashCode()
Returns a constant hash code value.
|
String |
toString()
Prints the immutable value
RaftIndex. |
public boolean equals(@Nullable Object another)
ImmutableRaftIndex that have equal attribute values.public int hashCode()
public String toString()
RaftIndex.public static ImmutableRaftIndex copyOf(RaftIndex instance)
RaftIndex 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 ImmutableRaftIndex.Builder builder()
ImmutableRaftIndex.
ImmutableRaftIndex.builder()
.build();
Copyright © 2019. All rights reserved.