edu.knowitall.collection.immutable

Interval

object Interval extends AnyRef

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. Interval
  2. AnyRef
  3. Any
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 Closed extends AnyRef

  7. object Empty extends Interval

    The empty interval.

  8. object Open extends AnyRef

  9. object Singleton extends AnyRef

  10. final def asInstanceOf[T0]: T0

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

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

  12. def clone(): AnyRef

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

    Create a new closed interval.

  14. val closedIntervalRegex: Regex

  15. def deserialize(pickled: String): Interval

  16. val empty: edu.knowitall.collection.immutable.Interval.Empty.type

  17. val emptyRegex: Regex

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

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

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

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  21. 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

  22. final def getClass(): java.lang.Class[_]

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

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

    Definition Classes
    Any
  25. 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

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

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

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

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

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

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

    Create a new open interval.

  31. val openIntervalRegex: Regex

  32. def singleton(x: Int): Singleton

    Create a new singleton interval.

  33. val singletonRegex: Regex

  34. 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

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

    Definition Classes
    AnyRef
  36. def toString(): String

    Definition Classes
    AnyRef → Any
  37. 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

  38. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from AnyRef

Inherited from Any