Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## calhoun.util
Class RangeMap.Interval

    java.lang.Object
      calhoun.util.RangeMap.Interval

Enclosing class:
  RangeMap

    public static class RangeMap.Interval

extends java.lang.Object

An interval is a convenient data structure used to return a section of a RangeMap. It contains a start, a stop, and a set of elements that occur in that range.

Field Summary
`java.util.Set` | `elements`
`int` | `start`
`int` | `stop`

Constructor Summary
`RangeMap.Interval()`
`RangeMap.Interval(int start, int stop, java.util.Set elements)`

Method Summary
`boolean` | `equals(java.lang.Object obj)`
`int` | `getLength()`
`java.lang.String` | `toString()`

Methods inherited from class java.lang.Object
`getClass, hashCode, notify, notifyAll, wait, wait, wait`

Field Detail

### start

    public int start

### stop

    public int stop

### elements

    public java.util.Set elements

Constructor Detail

### RangeMap.Interval

    public RangeMap.Interval()

### RangeMap.Interval

    public RangeMap.Interval(int start,
                             int stop,
                             java.util.Set elements)

Method Detail

### equals

    public boolean equals(java.lang.Object obj)

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

### toString

    public java.lang.String toString()

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

### getLength

    public int getLength()

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD