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