S - A phantom type parameter indicating the coordinate space of the
area@Generated(value={"Immutables.generator","PAreaSizeLType<S>"}) public final class PAreaSizeL<S> extends Object implements PAreaSizeLType<S>
| Modifier and Type | Class and Description |
|---|---|
static class |
PAreaSizeL.Builder<S>
Builds instances of type
PAreaSizeL. |
| Modifier and Type | Method and Description |
|---|---|
static <S> PAreaSizeL.Builder<S> |
builder()
Creates a builder for
PAreaSizeL. |
boolean |
equals(Object another)
This instance is equal to all instances of
PAreaSizeL that have equal attribute values. |
int |
hashCode()
Computes a hash code from attributes:
width, height. |
long |
height() |
static <S> PAreaSizeL<S> |
of(long width,
long height)
Construct a new immutable
PAreaSizeL instance. |
String |
toString()
Prints the immutable value
PAreaSizeL with attribute values. |
long |
width() |
public long width()
width in interface PAreaSizeLType<S>public long height()
height in interface PAreaSizeLType<S>public boolean equals(Object another)
PAreaSizeL that have equal attribute values.public int hashCode()
width, height.public String toString()
PAreaSizeL with attribute values.public static <S> PAreaSizeL<S> of(long width, long height)
PAreaSizeL instance.width - The value for the width attributeheight - The value for the height attributepublic static <S> PAreaSizeL.Builder<S> builder()
PAreaSizeL.S - generic parameter SCopyright © 2017 <code@io7m.com> http://io7m.com