c

io.horizen.chain

ElementsChain

class ElementsChain[ID, DATA <: LinkedElement[ID]] extends AnyRef

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ElementsChain
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ElementsChain(lastId: Option[ID] = None, data: ArrayBuffer[DATA] = ArrayBuffer[DATA](), idToHeightMap: HashMap[ID, Int] = mutable.HashMap[ID, Int]())

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. def appendData(newId: ID, newData: DATA): Unit
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def bestData: Option[DATA]
  7. def bestId: Option[ID]
  8. def chainAfter(id: ID, limit: Option[Int]): Seq[ID]
  9. def chainSince(id: ID, limit: Option[Int], getChainAfter: Boolean = false): Seq[ID]
  10. def clear(): Unit
  11. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  12. def contains(id: ID): Boolean
  13. def cutToId(newBestId: ID): Unit
  14. def dataByHeight(requestedHeight: Int): Option[DATA]
  15. def dataById(id: ID): Option[DATA]
  16. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  18. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  19. def getLastDataByPredicate(p: (DATA) ⇒ Boolean): Option[DATA]
  20. final def getLastDataByPredicateTillHeight(height: Integer)(p: (DATA) ⇒ Boolean): Option[DATA]
    Annotations
    @tailrec()
  21. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  22. def height: Int
  23. def heightById(id: ID): Option[Int]
  24. def idByHeight(requestedHeight: Int): Option[ID]
  25. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  26. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  27. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  28. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  29. def parentOf(id: ID): Option[ID]
  30. def setNewBestBlock(newId: ID, newData: DATA): Unit
  31. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  32. def toString(): String
    Definition Classes
    AnyRef → Any
  33. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  35. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from AnyRef

Inherited from Any

Ungrouped