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
Ordering
- Alphabetic
- By Inheritance
Inherited
- VersionTree
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Type Members
-
sealed
trait
AddingError extends AnyRef
Error happened during adding a particular version to the tree
- type Addition = Int
- final case class Additions extends AnyVal with Product with Serializable
-
sealed
trait
BuildingError extends AnyRef
Error happened during tree building
- type Model = Int
- type Revision = Int
- final case class Revisions extends AnyVal with Product with Serializable
-
final
case class
VersionList extends AnyVal with Product with Serializable
List of consistent naturally ordered versions, entirely isomorphic to the original tree
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
-
val
Root: VersionTree
A tree with only 1-0-0
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- def build(versions: List[Full]): Either[BuildingError, VersionTree]
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[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
- @throws( ... ) @native()
- object AddingError
- object Additions extends Serializable
- object BuildingError