@Generated(value={"Immutables.generator","BoxVerticalSplitType<S>"}) public final class BoxVerticalSplit<S> extends Object implements BoxVerticalSplitType<S>
BoxVerticalSplitType.
Use the builder to create immutable instances:
BoxVerticalSplit.<S>builder().
Use the static factory method to create immutable instances:
BoxVerticalSplit.<S>of().
| Modifier and Type | Class and Description |
|---|---|
static class |
BoxVerticalSplit.Builder<S>
Builds instances of type
BoxVerticalSplit. |
| Modifier and Type | Method and Description |
|---|---|
static <S> BoxVerticalSplit.Builder<S> |
builder()
Creates a builder for
BoxVerticalSplit. |
static <S> BoxVerticalSplit<S> |
copyOf(BoxVerticalSplitType<S> instance)
Creates an immutable copy of a
BoxVerticalSplitType value. |
boolean |
equals(Object another)
This instance is equal to all instances of
BoxVerticalSplit that have equal attribute values. |
int |
hashCode()
Computes a hash code from attributes:
left, right. |
BoxType<S> |
left() |
static <S> BoxVerticalSplit<S> |
of(BoxType<S> left,
BoxType<S> right)
Construct a new immutable
BoxVerticalSplit instance. |
BoxType<S> |
right() |
String |
toString()
Prints the immutable value
BoxVerticalSplit with attribute values. |
BoxVerticalSplit<S> |
withLeft(BoxType<S> left)
Copy the current immutable object by setting a value for the
left attribute. |
BoxVerticalSplit<S> |
withRight(BoxType<S> right)
Copy the current immutable object by setting a value for the
right attribute. |
public BoxType<S> left()
left in interface BoxVerticalSplitType<S>public BoxType<S> right()
right in interface BoxVerticalSplitType<S>public final BoxVerticalSplit<S> withLeft(BoxType<S> left)
left attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.left - A new value for leftthis objectpublic final BoxVerticalSplit<S> withRight(BoxType<S> right)
right attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.right - A new value for rightthis objectpublic boolean equals(Object another)
BoxVerticalSplit that have equal attribute values.public int hashCode()
left, right.public String toString()
BoxVerticalSplit with attribute values.public static <S> BoxVerticalSplit<S> of(BoxType<S> left, BoxType<S> right)
BoxVerticalSplit instance.left - The value for the left attributeright - The value for the right attributepublic static <S> BoxVerticalSplit<S> copyOf(BoxVerticalSplitType<S> instance)
BoxVerticalSplitType value.
Uses accessors to get values to initialize the new immutable instance.
If an instance is already immutable, it is returned as is.S - generic parameter Sinstance - The instance to copypublic static <S> BoxVerticalSplit.Builder<S> builder()
BoxVerticalSplit.S - generic parameter SCopyright © 2016 <code@io7m.com> http://io7m.com