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