All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.immutables.fixture.ImmutableSing3 Maven / Gradle / Ivy

package org.immutables.fixture;

import javax.annotation.Generated;
import javax.annotation.Nullable;
import javax.annotation.ParametersAreNonnullByDefault;
import javax.annotation.concurrent.Immutable;

/**
 * Immutable implementation of {@link Sing3}.
 * 

* Use the static factory method to get the default singleton instance: * {@code ImmutableSing3.of()}. */ @SuppressWarnings("all") @ParametersAreNonnullByDefault @Generated({"Immutables.generator", "Sing3"}) @Immutable final class ImmutableSing3 implements Sing3 { private ImmutableSing3() {} /** * This instance is equal to all instances of {@code ImmutableSing3} that have equal attribute values. * As instances of the {@code ImmutableSing3} class are interned, the {@code equals} method is implemented * as an efficient reference equality check. * @return {@code true} if {@code this} is equal to {@code another} instance */ @Override public boolean equals(@Nullable Object another) { return this == another; } /** * Returns a constant hash code value. * @return hashCode value */ @Override public int hashCode() { return 1828902699; } /** * Prints the immutable value {@code Sing3}. * @return A string representation of the value */ @Override public String toString() { return "Sing3{}"; } private static final ImmutableSing3 INSTANCE = new ImmutableSing3(); /** * Returns the default immutable singleton value of {@code Sing3} * @return An immutable instance of Sing3 */ public static ImmutableSing3 of() { return INSTANCE; } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy