sealed abstract class Diev[A] extends AnyRef
Implementation of a Discrete Interval Encoding Tree http://web.engr.oregonstate.edu/~erwig/diet/ that is actually implemented using a Vector and is balanced at all times as a result.
- Source
- Diev.scala
- Alphabetic
- By Inheritance
- Diev
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
- abstract def +(value: A): Diev[A]
- abstract def +(interval: (A, A)): Diev[A]
- abstract def ++(other: Diev[A]): Diev[A]
- abstract def -(value: A): Diev[A]
- abstract def -(interval: (A, A)): Diev[A]
- abstract def --(other: Diev[A]): Diev[A]
- abstract def contains(interval: (A, A)): Boolean
- abstract def contains(value: A): Boolean
- abstract def filter(f: (A) ⇒ Boolean): Diev[A]
- abstract def flatMap[B](f: (A) ⇒ Diev[B])(implicit EB: Enum[B]): Diev[B]
- abstract def foldLeft[B](z: B)(f: (B, A) ⇒ B): B
- abstract def foreach(f: (A) ⇒ Unit): Unit
- abstract def intervals: Vector[(A, A)]
- abstract def map[B](f: (A) ⇒ B)(implicit EB: Enum[B]): Diev[B]
- abstract def toIList(): IList[A]
- abstract def toList(): List[A]
- abstract def toSet(): Set[A]
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
- @native() @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
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
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
- @native() @throws( ... )