@Generated(value={"Immutables.generator","SMFVersionProbedType"}) public final class SMFVersionProbed extends Object implements SMFVersionProbedType
| Modifier and Type | Class and Description |
|---|---|
static class |
SMFVersionProbed.Builder
Builds instances of type
SMFVersionProbed. |
| Modifier and Type | Method and Description |
|---|---|
static SMFVersionProbed.Builder |
builder()
Creates a builder for
SMFVersionProbed. |
static SMFVersionProbed |
copyOf(SMFVersionProbedType instance)
Creates an immutable copy of a
SMFVersionProbedType value. |
boolean |
equals(Object another)
This instance is equal to all instances of
SMFVersionProbed that have equal attribute values. |
int |
hashCode()
Computes a hash code from attributes:
provider, version. |
static SMFVersionProbed |
of(SMFParserProviderType provider,
SMFFormatVersion version)
Construct a new immutable
SMFVersionProbed instance. |
SMFParserProviderType |
provider() |
String |
toString()
Prints the immutable value
SMFVersionProbed with attribute values. |
SMFFormatVersion |
version() |
SMFVersionProbed |
withProvider(SMFParserProviderType value)
Copy the current immutable object by setting a value for the
provider attribute. |
SMFVersionProbed |
withVersion(SMFFormatVersion value)
Copy the current immutable object by setting a value for the
version attribute. |
public SMFParserProviderType provider()
provider in interface SMFVersionProbedTypepublic SMFFormatVersion version()
version in interface SMFVersionProbedTypepublic final SMFVersionProbed withProvider(SMFParserProviderType value)
provider attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for providerthis objectpublic final SMFVersionProbed withVersion(SMFFormatVersion value)
version attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for versionthis objectpublic boolean equals(Object another)
SMFVersionProbed that have equal attribute values.public int hashCode()
provider, version.public String toString()
SMFVersionProbed with attribute values.public static SMFVersionProbed of(SMFParserProviderType provider, SMFFormatVersion version)
SMFVersionProbed instance.provider - The value for the provider attributeversion - The value for the version attributepublic static SMFVersionProbed copyOf(SMFVersionProbedType instance)
SMFVersionProbedType 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 SMFVersionProbed.Builder builder()
SMFVersionProbed.Copyright © 2017 <code@io7m.com> http://io7m.com