org.allenai.common.immutable

Interval

object Interval

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Interval
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. sealed abstract class Singleton extends Interval

    An interval that includes only a single index.

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. object Empty extends Interval

    The empty interval.

  7. object Format

  8. implicit object IntervalJsonFormat extends RootJsonFormat[Interval]

  9. object Open

  10. object Singleton

  11. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  12. def between(x: Interval, y: Interval): Interval

    Create an open interval that includes all points between the two intervals.

  13. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  14. def closed(start: Int, end: Int): Interval

    Create a new closed interval.

  15. val empty: Interval

    The empty interval.

  16. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  17. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  18. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  19. def from(col: Seq[Int]): Interval

    create an interval from a sequence of Ints.

    create an interval from a sequence of Ints.

    Exceptions thrown
    IllegalArgumentException

    some x such that min < x < max is not in col

  20. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  21. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  22. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  23. def minimal(intervals: Iterable[Interval]): List[Interval]

    create a minimal spanning set of the supplied intervals.

    create a minimal spanning set of the supplied intervals.

    returns

    a sorted minimal spanning set

  24. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  25. final def notify(): Unit

    Definition Classes
    AnyRef
  26. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  27. def ofLength(start: Int, length: Int): Interval

    Create an interval at the specified starting point of the specified length.

  28. def open(start: Int, end: Int): Interval

    Create a new open interval.

  29. def singleton(x: Int): Singleton

    Create a new singleton interval.

  30. def span(col: Iterable[Interval]): Interval

    create the smallest interval that spans a collection of intervals.

    create the smallest interval that spans a collection of intervals. The intervals will be sorted and unioned.

    Exceptions thrown
    IllegalArgumentException

    gap in intervals

  31. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  32. def toString(): String

    Definition Classes
    AnyRef → Any
  33. def union(col: Seq[Interval]): Interval

    create an interval from a collection of intervals.

    create an interval from a collection of intervals. The intervals will be sorted and unioned.

    Exceptions thrown
    IllegalArgumentException

    gap in intervals

  34. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped