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