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