de.sciss.lucre.confluent

Access

trait Access[S <: Sys[S]] extends Writable with PathLike

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

Abstract Value Members

  1. abstract def +:(head: Long): Access[S]

    Prepends a single element.

  2. abstract def :+(last: Long): Access[S]

    Appends a single element.

  3. abstract def addTerm(term: Long)(implicit tx: S.Tx): Access[S]

    Replaces the terminal version with the given term.

    Replaces the terminal version with the given term. If the new term is on the same tree level as the old term, the term is replaced, otherwise a new tree is entered (the new term is appended twice).

  4. abstract def drop(num: Int): Access[S]

  5. abstract def head: Long

  6. abstract def index: Access[S]

    Drops the last element.

  7. abstract def info(implicit tx: S.Tx): VersionInfo

    Retrieves the version information associated with the access path.

  8. abstract def isEmpty: Boolean

  9. abstract def last: Long

  10. abstract def mkString(prefix: String, sep: String, suffix: String): String

  11. abstract def nonEmpty: Boolean

  12. abstract def seminal: Access[S]

  13. abstract def size: Int

    Definition Classes
    PathLike
  14. abstract def splitIndex: (Access[S], Long)

    Splits off last term, returning index (init) and that last term.

  15. abstract def sum: Long

    Definition Classes
    PathLike
  16. abstract def sumUntil(n: Int): Long

    Definition Classes
    PathLike
  17. abstract def tail: Access[S]

    Drops the head element.

  18. abstract def take(num: Int): Access[S]

  19. abstract def takeUntil(timeStamp: Long)(implicit tx: S.Tx): Access[S]

    Truncates the path to a prefix corresponding to the most recent transaction along the path which has occurred not after a given point in (system) time.

    Truncates the path to a prefix corresponding to the most recent transaction along the path which has occurred not after a given point in (system) time.

    In other words, calling info on the returned path results in a VersionInfo object whose timeStamp field is less than or equal to the timeStamp argument of this method. The only exception is if the timeStamp argument is smaller than the root version of system; in that case, the root path is returned instead of an empty path.

    Note: This assumes that incremental versions correspond with incremental time stamps. This is not enforced and if this is not the case, the behaviour is undefined. Furthermore, if it is allowed that multiple successive versions have the same time stamp. In that case, it is undefined which of these versions is returned.

    timeStamp

    the query time (in terms of System.currentTimeMillis)

  20. abstract def term: Long

  21. abstract def write(out: DataOutput): Unit

    Definition Classes
    Writable

Concrete 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. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. final def eq(arg0: AnyRef): Boolean

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

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]

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

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

    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  17. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  18. def toString(): String

    Definition Classes
    AnyRef → Any
  19. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from PathLike

Inherited from Writable

Inherited from AnyRef

Inherited from Any

Ungrouped