org.allenai.common.immutable

Interval

Related Docs: class Interval | package immutable

object Interval

Linear Supertypes
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.

    An interval that includes only a single index. All intervals with a single element will always extend Singleton.

Value Members

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

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Definition Classes
    AnyRef → Any
  4. object Empty extends Interval

    The empty interval.

  5. object Format

  6. implicit object IntervalJsonFormat extends RootJsonFormat[Interval]

  7. object Open

  8. object Singleton

  9. final def asInstanceOf[T0]: T0

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

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

  11. def clone(): AnyRef

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

    Create a new closed interval.

  13. val empty: Interval

    The empty interval.

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

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

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

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

    create an interval from a sequence of Ints.

    create an interval from a sequence of Ints.

    Exceptions thrown

    java.lang.IllegalArgumentException some x such that min < x < max is not in col

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

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

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

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

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

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

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

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

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

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

    Create a new open interval.

  27. def singleton(x: Int): Singleton

    Create a new singleton interval.

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

    java.lang.IllegalArgumentException gap in intervals

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

    Definition Classes
    AnyRef
  30. def toString(): String

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

    java.lang.IllegalArgumentException gap in intervals

  32. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped