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