@Generated(value={"Immutables.generator","R2GeometryBufferDescriptionType"}) public final class R2GeometryBufferDescription extends Object implements R2GeometryBufferDescriptionType
| Modifier and Type | Class and Description |
|---|---|
static class |
R2GeometryBufferDescription.Builder
Builds instances of type
R2GeometryBufferDescription. |
| Modifier and Type | Method and Description |
|---|---|
com.io7m.jareas.core.AreaInclusiveUnsignedLType |
area() |
static R2GeometryBufferDescription.Builder |
builder()
Creates a builder for
R2GeometryBufferDescription. |
R2GeometryBufferComponents |
components() |
static R2GeometryBufferDescription |
copyOf(R2GeometryBufferDescriptionType instance)
Creates an immutable copy of a
R2GeometryBufferDescriptionType value. |
boolean |
equals(Object another)
This instance is equal to all instances of
R2GeometryBufferDescription that have equal attribute values. |
int |
hashCode()
Computes a hash code from attributes:
area, components. |
static R2GeometryBufferDescription |
of(com.io7m.jareas.core.AreaInclusiveUnsignedLType area,
R2GeometryBufferComponents components)
Construct a new immutable
R2GeometryBufferDescription instance. |
String |
toString()
Prints the immutable value
R2GeometryBufferDescription with attribute values. |
R2GeometryBufferDescription |
withArea(com.io7m.jareas.core.AreaInclusiveUnsignedLType value)
Copy the current immutable object by setting a value for the
area attribute. |
R2GeometryBufferDescription |
withComponents(R2GeometryBufferComponents value)
Copy the current immutable object by setting a value for the
components attribute. |
public com.io7m.jareas.core.AreaInclusiveUnsignedLType area()
area in interface R2GeometryBufferDescriptionTypearea in interface R2RenderTargetDescriptionTypearea attributepublic R2GeometryBufferComponents components()
components in interface R2GeometryBufferDescriptionTypepublic final R2GeometryBufferDescription withArea(com.io7m.jareas.core.AreaInclusiveUnsignedLType value)
area attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for areathis objectpublic final R2GeometryBufferDescription withComponents(R2GeometryBufferComponents value)
components attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for componentsthis objectpublic boolean equals(Object another)
R2GeometryBufferDescription that have equal attribute values.public int hashCode()
area, components.public String toString()
R2GeometryBufferDescription with attribute values.public static R2GeometryBufferDescription of(com.io7m.jareas.core.AreaInclusiveUnsignedLType area, R2GeometryBufferComponents components)
R2GeometryBufferDescription instance.area - The value for the area attributecomponents - The value for the components attributepublic static R2GeometryBufferDescription copyOf(R2GeometryBufferDescriptionType instance)
R2GeometryBufferDescriptionType 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 R2GeometryBufferDescription.Builder builder()
R2GeometryBufferDescription.Copyright © 2017 <code@io7m.com> http://io7m.com