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