@Generated(value={"Immutables.generator","AreaDType"}) public final class AreaD extends Object implements AreaDType
An area with double 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 |
AreaD.Builder
Builds instances of type
AreaD. |
| Modifier and Type | Method and Description |
|---|---|
static AreaD.Builder |
builder()
Creates a builder for
AreaD. |
boolean |
equals(Object another)
This instance is equal to all instances of
AreaD that have equal attribute values. |
int |
hashCode()
Computes a hash code from attributes:
minimumX, maximumX, minimumY, maximumY. |
double |
height() |
double |
maximumX() |
double |
maximumY() |
double |
minimumX() |
double |
minimumY() |
static AreaD |
of(double minimumX,
double maximumX,
double minimumY,
double maximumY)
Construct a new immutable
AreaD instance. |
String |
toString()
Prints the immutable value
AreaD with attribute values. |
double |
width() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcheckPreconditionspublic double minimumX()
public double maximumX()
public double minimumY()
public double maximumY()
public boolean equals(Object another)
AreaD that have equal attribute values.public int hashCode()
minimumX, maximumX, minimumY, maximumY.public String toString()
AreaD with attribute values.public double width()
Returns a lazily initialized value of the width attribute.
Initialized once and only once and stored for subsequent access with proper synchronization.
public double 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 AreaD of(double minimumX, double maximumX, double minimumY, double maximumY)
AreaD 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 AreaD.Builder builder()
AreaD.Copyright © 2017 <code@io7m.com> http://io7m.com