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