S - A phantom type parameter indicating the coordinate space of the
areaT - The precise type of areaPAreaYSplitDType<S,T>public final class PAreaYSplitD<S,T extends PAreaDType<S>> extends java.lang.Object implements PAreaYSplitDType<S,T>
| Modifier and Type | Class | Description |
|---|---|---|
static class |
PAreaYSplitD.Builder<S,T extends PAreaDType<S>> |
Builds instances of type
PAreaYSplitD. |
| Modifier and Type | Method | Description |
|---|---|---|
static <S,T extends PAreaDType<S>> |
builder() |
Creates a builder for
PAreaYSplitD. |
boolean |
equals(java.lang.Object another) |
This instance is equal to all instances of
PAreaYSplitD that have equal attribute values. |
int |
hashCode() |
Computes a hash code from attributes:
lower, upper. |
T |
lower() |
|
static <S,T extends PAreaDType<S>> |
of(T lower,
T upper) |
Construct a new immutable
PAreaYSplitD instance. |
java.lang.String |
toString() |
Prints the immutable value
PAreaYSplitD with attribute values. |
T |
upper() |
public T lower()
lower in interface PAreaYSplitDType<S,T extends PAreaDType<S>>public T upper()
upper in interface PAreaYSplitDType<S,T extends PAreaDType<S>>public boolean equals(java.lang.Object another)
PAreaYSplitD that have equal attribute values.equals in class java.lang.Objecttrue if this is equal to another instancepublic int hashCode()
lower, upper.hashCode in class java.lang.Objectpublic java.lang.String toString()
PAreaYSplitD with attribute values.toString in class java.lang.Objectpublic static <S,T extends PAreaDType<S>> PAreaYSplitD<S,T> of(T lower, T upper)
PAreaYSplitD instance.lower - The value for the lower attributeupper - The value for the upper attributepublic static <S,T extends PAreaDType<S>> PAreaYSplitD.Builder<S,T> builder()
PAreaYSplitD.S - generic parameter ST - generic parameter TCopyright © 2017 <code@io7m.com> http://io7m.com