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