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