sealed trait RangedSeq[Elem, P] extends FingerTreeLike[Option[(P, P)], Elem, RangedSeq[Elem, P]]
- Alphabetic
- By Inheritance
- RangedSeq
- FingerTreeLike
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
-
abstract
def
+(elem: Elem): RangedSeq[Elem, P]
Adds a new element to the tree.
-
abstract
def
-(elem: Elem): RangedSeq[Elem, P]
Removes an element from the tree.
-
abstract
def
filterIncludes(interval: (P, P)): Iterator[Elem]
Filters the tree to contain only those elements that are completely contained within a given interval.
Filters the tree to contain only those elements that are completely contained within a given interval. Containment means that found_start <= query_start &&
- interval
the query interval
- returns
the filtered tree whose elements are contained within the query interval
-
abstract
def
filterOverlaps(interval: (P, P)): Iterator[Elem]
Filters the tree to contain only those elements that overlap a given interval.
Filters the tree to contain only those elements that overlap a given interval. An overlap occurs if the intersection between query interval and found interval is non-empty. In other words, found_start < query_stop && found_stop > query_start.
- interval
the query interval
- returns
the filtered tree whose elements overlap the query interval
-
abstract
def
find(point: P): Option[Elem]
Find an element that contains a given point.
Find an element that contains a given point. A point is contained in if found_start <= point && found_stop > point. Elements with empty intervals will thus not be detected (the
intervalversion of this method can)- point
the query point
- returns
the element containing the point, or
Noneif such an element does not exist.
-
abstract
def
findOverlaps(interval: (P, P)): Option[Elem]
Finds an element that overlaps a given interval.
Finds an element that overlaps a given interval. An overlap occurs if the intersection between query interval and found interval is non-empty. In other words, found_start < query_stop && found_stop > query_start. Of the candidates, returns the one with the lowest start point.
- interval
the query interval
- returns
the element which overlaps the query interval, or
Noneif there is none.
- abstract def includes(interval: (P, P)): Boolean
- abstract def includes(point: P): Boolean
-
abstract
def
intersect(point: P): Iterator[Elem]
Filters the tree to contain only those elements that contain a given point.
Filters the tree to contain only those elements that contain a given point. An element contains the point if its interval start is less than or equal to that point and its interval stop is greater than that point.
- point
the intersection point
- returns
the filtered tree having only elements which contain the point
-
abstract
def
interval: Option[(P, P)]
Returns the total interval covered by the sequence, or
Noneif the range is empty -
implicit abstract
def
m: Measure[Elem, Option[(P, P)]]
- Attributes
- protected
- Definition Classes
- FingerTreeLike
- abstract def overlaps(interval: (P, P)): Boolean
-
abstract
def
tree: FingerTree[Option[(P, P)], Elem]
- Attributes
- protected
- Definition Classes
- FingerTreeLike
-
abstract
def
wrap(tree: FingerTree[Option[(P, P)], Elem]): RangedSeq[Elem, P]
- Attributes
- protected
- Definition Classes
- FingerTreeLike
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
head: Elem
- Definition Classes
- FingerTreeLike
-
final
def
headOption: Option[Elem]
- Definition Classes
- FingerTreeLike
-
final
def
init: RangedSeq[Elem, P]
- Definition Classes
- FingerTreeLike
-
final
def
isEmpty: Boolean
- Definition Classes
- FingerTreeLike
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
iterator: Iterator[Elem]
- Definition Classes
- FingerTreeLike
-
final
def
last: Elem
- Definition Classes
- FingerTreeLike
-
final
def
lastOption: Option[Elem]
- Definition Classes
- FingerTreeLike
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
nonEmpty: Boolean
- Definition Classes
- FingerTreeLike
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
final
def
tail: RangedSeq[Elem, P]
- Definition Classes
- FingerTreeLike
-
final
def
to[Col[_]](implicit cbf: CanBuildFrom[Nothing, Elem, Col[Elem]]): Col[Elem]
- Definition Classes
- FingerTreeLike
-
final
def
toList: List[Elem]
- Definition Classes
- FingerTreeLike
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )