Packages

c

sigma.data

CAvlTree

case class CAvlTree(treeData: AvlTreeData) extends AvlTree with WrapperOf[AvlTreeData] with Product with Serializable

A default implementation of AvlTree interface.

See also

AvlTree for detailed descriptions

Linear Supertypes
Serializable, Product, Equals, WrapperOf[AvlTreeData], AvlTree, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CAvlTree
  2. Serializable
  3. Product
  4. Equals
  5. WrapperOf
  6. AvlTree
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new CAvlTree(treeData: AvlTreeData)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  6. def digest: Coll[Byte]

    Returns digest of the state represented by this tree.

    Returns digest of the state represented by this tree. Authenticated tree digest = root hash bytes ++ tree height

    Definition Classes
    CAvlTreeAvlTree
  7. def enabledOperations: Byte

    Flags of enabled operations packed in single byte.

    Flags of enabled operations packed in single byte. isInsertAllowed == (enabledOperations & 0x01) != 0 isUpdateAllowed == (enabledOperations & 0x02) != 0 isRemoveAllowed == (enabledOperations & 0x04) != 0

    Definition Classes
    CAvlTreeAvlTree
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  10. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. def isInsertAllowed: Boolean

    Checks if Insert operation is allowed for this tree instance.

    Checks if Insert operation is allowed for this tree instance.

    Definition Classes
    CAvlTreeAvlTree
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. def isRemoveAllowed: Boolean

    Checks if Remove operation is allowed for this tree instance.

    Checks if Remove operation is allowed for this tree instance.

    Definition Classes
    CAvlTreeAvlTree
  14. def isUpdateAllowed: Boolean

    Checks if Update operation is allowed for this tree instance.

    Checks if Update operation is allowed for this tree instance.

    Definition Classes
    CAvlTreeAvlTree
  15. def keyLength: Int

    All the elements under the tree have the same length of the keys

    All the elements under the tree have the same length of the keys

    Definition Classes
    CAvlTreeAvlTree
  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. def productElementNames: Iterator[String]
    Definition Classes
    Product
  20. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  21. val treeData: AvlTreeData
  22. def updateDigest(newDigest: Coll[Byte]): AvlTree

    Replace digest of this tree producing a new tree.

    Replace digest of this tree producing a new tree. Since AvlTree is immutable, this tree instance remains unchanged.

    newDigest

    a new digest

    returns

    a copy of this AvlTree instance where this.digest replaced by newDigest

    Definition Classes
    CAvlTreeAvlTree
  23. def updateOperations(newOperations: Byte): AvlTree

    Enable/disable operations of this tree producing a new tree.

    Enable/disable operations of this tree producing a new tree. Since AvlTree is immutable, this tree instance remains unchanged.

    newOperations

    a new flags which specify available operations on a new tree.

    returns

    a copy of this AvlTree instance where this.enabledOperations replaced by newOperations

    Definition Classes
    CAvlTreeAvlTree
  24. def valueLengthOpt: Option[Int]

    If non-empty, all the values under the tree are of the same length.

    If non-empty, all the values under the tree are of the same length.

    Definition Classes
    CAvlTreeAvlTree
  25. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  26. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  27. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  28. def wrappedValue: AvlTreeData

    The data value wrapped by this wrapper.

    The data value wrapped by this wrapper.

    Definition Classes
    CAvlTreeWrapperOf

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from WrapperOf[AvlTreeData]

Inherited from AvlTree

Inherited from AnyRef

Inherited from Any

Ungrouped