@Generated(value={"Immutables.generator","AreaFType"}) public final class AreaF extends Object implements AreaFType
An area with float coordinates.
The coordinates of the area are given in half-closed form. That is,
minimumX() refers to the minimum inclusive value on the X
axis, and maximumX() refers to the maximum exclusive value on
the X axis. Likewise for the Y axis.
| Modifier and Type | Class and Description |
|---|---|
static class |
AreaF.Builder
Builds instances of type
AreaF. |
| Modifier and Type | Method and Description |
|---|---|
static AreaF.Builder |
builder()
Creates a builder for
AreaF. |
boolean |
equals(Object another)
This instance is equal to all instances of
AreaF that have equal attribute values. |
int |
hashCode()
Computes a hash code from attributes:
minimumX, maximumX, minimumY, maximumY. |
float |
height() |
float |
maximumX() |
float |
maximumY() |
float |
minimumX() |
float |
minimumY() |
static AreaF |
of(float minimumX,
float maximumX,
float minimumY,
float maximumY)
Construct a new immutable
AreaF instance. |
String |
toString()
Prints the immutable value
AreaF with attribute values. |
float |
width() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcheckPreconditionspublic float minimumX()
public float maximumX()
public float minimumY()
public float maximumY()
public boolean equals(Object another)
AreaF that have equal attribute values.public int hashCode()
minimumX, maximumX, minimumY, maximumY.public String toString()
AreaF with attribute values.public float width()
Returns a lazily initialized value of the width attribute.
Initialized once and only once and stored for subsequent access with proper synchronization.
public float height()
Returns a lazily initialized value of the height attribute.
Initialized once and only once and stored for subsequent access with proper synchronization.
public static AreaF of(float minimumX, float maximumX, float minimumY, float maximumY)
AreaF instance.minimumX - The value for the minimumX attributemaximumX - The value for the maximumX attributeminimumY - The value for the minimumY attributemaximumY - The value for the maximumY attributepublic static AreaF.Builder builder()
AreaF.Copyright © 2017 <code@io7m.com> http://io7m.com