stdx.crdt.causalGraph

Members list

Type members

Experimental classlikes

case class CGEntry(version: LV, var vEnd: LV, agent: String, seq: Number, parents: IndexedSeq[LV])

Attributes

Experimental
true
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class CausalGraph(var heads: IndexedSeq[LV], entries: ArrayBuffer[CGEntry], agentToVersion: HashMap[String, ArrayBuffer[ClientEntry]])

Attributes

Companion
object
Experimental
true
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object CausalGraph

Attributes

Companion
class
Experimental
true
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
enum DiffFlag

Attributes

Experimental
true
Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
class DiffResult(val aOnly: ArrayBuffer[LVRange], var bOnly: ArrayBuffer[LVRange])

Attributes

Experimental
true
Supertypes
class Object
trait Matchable
class Any
object JFREvents

Attributes

Experimental
true
Supertypes
class Object
trait Matchable
class Any
Self type
JFREvents.type
object LVRange

Attributes

Companion
class
Experimental
true
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
LVRange.type
case class LVRange(var start: LV, var end: LV)

Local version range. Range is [start, end)

Local version range. Range is [start, end)

Attributes

Companion
object
Experimental
true
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class PartialSerializedCGEntry(agent: String, seq: Number, len: Number, parents: IndexedSeq[RawVersion])

Attributes

Experimental
true
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object RawVersion

Attributes

Companion
class
Experimental
true
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
RawVersion.type
case class RawVersion(agent: String, var seq: Number)

Attributes

Companion
object
Experimental
true
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Types

type IntersectVisitor = (String, Number, Number, Number) => Unit

version is -1 when the seq does not overlap. Each yield is guaranteed to be a version run.

version is -1 when the seq does not overlap. Each yield is guaranteed to be a version run.

Attributes

type LV = Number

Local version

Local version

Attributes

type VersionSummary = Map[String, IndexedSeq[LVRange]]

Value members

Experimental methods

def binarySearch[T, U](haystack: IndexedSeq[T], needle: U, comparator: (T, U) => Int, lowStart: Index = ...): SearchResult

Attributes

Experimental
true
def binarySearch2[T](haystack: IndexedSeq[T], needle: T, lowStart: Index = ...)(using po: PartialOrdering[T]): SearchResult

Attributes

Experimental
true
def bs[T, U](haystack: IndexedSeq[T], needle: U, comparator: (T, U) => Int): Int

Attributes

Experimental
true

Attributes

Experimental
true
def max2(a: Number, b: Number): Number

Attributes

Experimental
true
def min2(a: Number, b: Number): Number

Attributes

Experimental
true

Experimental fields

lazy val vv: VersionSummary

Attributes

Experimental
true

Exports

Experimental defined exports

final type Number = Number
Exported from Index$package$

Attributes

Experimental
true