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