Packages

object VersionTree extends Serializable

Group - continuous, but possibly *unclosed* sequence of child versions (opposed to always closed Set?), e.g. 2,3 additions of 0 revision (but 0,1,4,5 are "outside")

Set - continuous and always closed sequence of child versions (opposed to possibly *unclosed* Group) e.g. 0,1,2,3,4,5 additions of 0 revision (nothing else in the revision)

Highest - largest number in a whole Set (5th addition) Latest - largest number in a whole Group (3rd addition)

case class X is a group, it has information about all its Xs and children Ys

Linear Supertypes
Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. VersionTree
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. sealed trait AddingError extends AnyRef

    Error happened during adding a particular version to the tree

  2. type Addition = Int
  3. final case class Additions extends AnyVal with Product with Serializable
  4. sealed trait BuildingError extends AnyRef

    Error happened during tree building

  5. type Model = Int
  6. type Revision = Int
  7. final case class Revisions extends AnyVal with Product with Serializable
  8. final case class VersionList extends AnyVal with Product with Serializable

    List of consistent naturally ordered versions, entirely isomorphic to the original tree

Value Members

  1. val Root: VersionTree

    A tree with only 1-0-0

  2. def build(versions: List[Full]): Either[BuildingError, VersionTree]
  3. object AddingError
  4. object Additions extends Serializable
  5. object BuildingError