com.io7m.jregions.core.parameterized.areas

## Class PAreaXSplitD<S,T extends PAreaDType<S>>

- java.lang.Object
- - com.io7m.jregions.core.parameterized.areas.PAreaXSplitD<S,T>

- Type Parameters:
    `S` - A phantom type parameter indicating the coordinate space of the area
    `T` - The precise type of area
  All Implemented Interfaces:
    PAreaXSplitDType<S,T>

      @Generated(value={"Immutables.generator","PAreaXSplitDType<S, T>"})
      public final class PAreaXSplitD<S,T extends PAreaDType<S>>
      extends Object
      implements PAreaXSplitDType<S,T>

  An area that has been split via the X axis.

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class and Description
    --- | ---
    `static class` | `PAreaXSplitD.Builder<S,T extends PAreaDType<S>>` Builds instances of type `PAreaXSplitD`.

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static <S,T extends PAreaDType<S>> PAreaXSplitD.Builder<S,T>` | `builder()` Creates a builder for `PAreaXSplitD`.
    `boolean` | `equals(Object another)` This instance is equal to all instances of `PAreaXSplitD` that have equal attribute values.
    `int` | `hashCode()` Computes a hash code from attributes: `lower`, `upper`.
    `T` | `lower()`
    `static <S,T extends PAreaDType<S>> PAreaXSplitD<S,T>` | `of(T lower, T upper)` Construct a new immutable `PAreaXSplitD` instance.
    `String` | `toString()` Prints the immutable value `PAreaXSplitD` with attribute values.
    `T` | `upper()`

    - ### Methods inherited from class java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- - ### Method Detail

    - #### lower

          public T lower()

      Specified by:
        `lower` in interface `PAreaXSplitDType<S,T extends PAreaDType<S>>`
      Returns:
        The lower half

    - #### upper

          public T upper()

      Specified by:
        `upper` in interface `PAreaXSplitDType<S,T extends PAreaDType<S>>`
      Returns:
        The upper half

    - #### equals

          public boolean equals(Object another)

      This instance is equal to all instances of `PAreaXSplitD` that have equal attribute values.
      Overrides:
        `equals` in class `Object`
      Returns:
        `true` if `this` is equal to `another` instance

    - #### hashCode

          public int hashCode()

      Computes a hash code from attributes: `lower`, `upper`.
      Overrides:
        `hashCode` in class `Object`
      Returns:
        hashCode value

    - #### toString

          public String toString()

      Prints the immutable value `PAreaXSplitD` with attribute values.
      Overrides:
        `toString` in class `Object`
      Returns:
        A string representation of the value

    - #### of

          public static <S,T extends PAreaDType<S>> PAreaXSplitD<S,T> of(T lower,
                                                                         T upper)

      Construct a new immutable `PAreaXSplitD` instance.
      Parameters:
        `lower` - The value for the `lower` attribute
        `upper` - The value for the `upper` attribute
      Returns:
        An immutable PAreaXSplitD instance

    - #### builder

          public static <S,T extends PAreaDType<S>> PAreaXSplitD.Builder<S,T> builder()

      Creates a builder for `PAreaXSplitD`.
      Type Parameters:
        `S` - generic parameter S
        `T` - generic parameter T
      Returns:
        A new PAreaXSplitD builder

Copyright © 2017 <code@io7m.com> http://io7m.com