@Generated(value={"Immutables.generator","AreaSizeIType"}) public final class AreaSizeI extends Object implements AreaSizeIType
| Modifier and Type | Class and Description |
|---|---|
static class |
AreaSizeI.Builder
Builds instances of type
AreaSizeI. |
| Modifier and Type | Method and Description |
|---|---|
static AreaSizeI.Builder |
builder()
Creates a builder for
AreaSizeI. |
boolean |
equals(Object another)
This instance is equal to all instances of
AreaSizeI that have equal attribute values. |
int |
hashCode()
Computes a hash code from attributes:
width, height. |
int |
height() |
static AreaSizeI |
of(int width,
int height)
Construct a new immutable
AreaSizeI instance. |
String |
toString()
Prints the immutable value
AreaSizeI with attribute values. |
int |
width() |
public int width()
width in interface AreaSizeITypewidth in interface AreaSizeValuesITypewidth attributepublic int height()
height in interface AreaSizeITypeheight in interface AreaSizeValuesITypeheight attributepublic boolean equals(Object another)
AreaSizeI that have equal attribute values.public int hashCode()
width, height.public String toString()
AreaSizeI with attribute values.public static AreaSizeI of(int width, int height)
AreaSizeI instance.width - The value for the width attributeheight - The value for the height attributepublic static AreaSizeI.Builder builder()
AreaSizeI.Copyright © 2017 <code@io7m.com> http://io7m.com