Interval (apache-cassandra API)
Date: 2014-10-21

org.apache.cassandra.utils

## Class Interval<C,D>

- java.lang.Object
- - org.apache.cassandra.utils.Interval<C,D>

- Direct Known Subclasses:
    RangeTombstone

      public class Interval<C,D>
      extends java.lang.Object

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `D` | `data`
    `C` | `max`
    `C` | `min`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `Interval(C min, C max, D data)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `static <C,D> Interval<C,D>` | `create(C min, C max)`
    `static <C,D> Interval<C,D>` | `create(C min, C max, D data)`
    `boolean` | `equals(java.lang.Object o)`
    `int` | `hashCode()`
    `java.lang.String` | `toString()`

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

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

- - ### Field Detail

    - #### min

          public final C min

    - #### max

          public final C max

    - #### data

          public final D data

  - ### Constructor Detail

    - #### Interval

          public Interval(C min,
                  C max,
                  D data)

  - ### Method Detail

    - #### create

          public static <C,D> Interval<C,D> create(C min,
                                   C max)

    - #### create

          public static <C,D> Interval<C,D> create(C min,
                                   C max,
                                   D data)

    - #### toString

          public java.lang.String toString()

      Overrides:
        `toString` in class `java.lang.Object`

    - #### hashCode

          public final int hashCode()

      Overrides:
        `hashCode` in class `java.lang.Object`

    - #### equals

          public final boolean equals(java.lang.Object o)

      Overrides:
        `equals` in class `java.lang.Object`

Copyright © 2014 The Apache Software Foundation