com.twitter.twittertext

## Class Range

- java.lang.Object
- - com.twitter.twittertext.Range

- All Implemented Interfaces:
    java.lang.Comparable<Range>

      public class Range
      extends java.lang.Object
      implements java.lang.Comparable<Range>

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static Range` | `EMPTY`
    `int` | `end`
    `int` | `start`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `Range(int start, int end)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `compareTo(Range other)`
    `boolean` | `equals(java.lang.Object obj)`
    `int` | `hashCode()`
    `boolean` | `isInRange(int val)`

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

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

- - ### Field Detail

    - #### EMPTY

          public static final Range EMPTY

    - #### start

          public final int start

    - #### end

          public final int end

  - ### Constructor Detail

    - #### Range

          public Range(int start,
                       int end)

  - ### Method Detail

    - #### equals

          public boolean equals(java.lang.Object obj)

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

    - #### hashCode

          public int hashCode()

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

    - #### compareTo

          public int compareTo(Range other)

      Specified by:
        `compareTo` in interface `java.lang.Comparable<Range>`

    - #### isInRange

          public boolean isInRange(int val)