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