AreaSizeFType, AreaSizeValuesFTypepublic final class AreaSizeF extends java.lang.Object implements AreaSizeFType
| Modifier and Type | Class | Description |
|---|---|---|
static class |
AreaSizeF.Builder |
Builds instances of type
AreaSizeF. |
| Modifier and Type | Method | Description |
|---|---|---|
static AreaSizeF.Builder |
builder() |
Creates a builder for
AreaSizeF. |
boolean |
equals(java.lang.Object another) |
This instance is equal to all instances of
AreaSizeF that have equal attribute values. |
int |
hashCode() |
Computes a hash code from attributes:
sizeX, sizeY. |
float |
height() |
Deprecated.
Use
sizeY() |
static AreaSizeF |
of(float sizeX,
float sizeY) |
Construct a new immutable
AreaSizeF instance. |
float |
sizeX() |
|
float |
sizeY() |
|
java.lang.String |
toString() |
Prints the immutable value
AreaSizeF with attribute values. |
float |
width() |
Deprecated.
Use
sizeX() |
checkPreconditionspublic float sizeX()
sizeX in interface AreaSizeFTypesizeX in interface AreaSizeValuesFTypesizeX attributepublic float sizeY()
sizeY in interface AreaSizeFTypesizeY in interface AreaSizeValuesFTypesizeY attribute@Deprecated public float width()
sizeX()width in interface AreaSizeValuesFType@Deprecated public float height()
sizeY()height in interface AreaSizeValuesFTypepublic boolean equals(java.lang.Object another)
AreaSizeF that have equal attribute values.equals in class java.lang.Objecttrue if this is equal to another instancepublic int hashCode()
sizeX, sizeY.hashCode in class java.lang.Objectpublic java.lang.String toString()
AreaSizeF with attribute values.toString in class java.lang.Objectpublic static AreaSizeF of(float sizeX, float sizeY)
AreaSizeF instance.sizeX - The value for the sizeX attributesizeY - The value for the sizeY attributepublic static AreaSizeF.Builder builder()
AreaSizeF.Copyright © 2017 <code@io7m.com> http://io7m.com