class ElementsChain[ID, DATA <: LinkedElement[ID]] extends AnyRef
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ElementsChain
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new ElementsChain(lastId: Option[ID] = None, data: ArrayBuffer[DATA] = ArrayBuffer[DATA](), idToHeightMap: HashMap[ID, Int] = mutable.HashMap[ID, Int]())
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
- def appendData(newId: ID, newData: DATA): Unit
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- def bestData: Option[DATA]
- def bestId: Option[ID]
- def chainAfter(id: ID, limit: Option[Int]): Seq[ID]
- def chainSince(id: ID, limit: Option[Int], getChainAfter: Boolean = false): Seq[ID]
- def clear(): Unit
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
- def contains(id: ID): Boolean
- def cutToId(newBestId: ID): Unit
- def dataByHeight(requestedHeight: Int): Option[DATA]
- def dataById(id: ID): Option[DATA]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def getLastDataByPredicate(p: (DATA) ⇒ Boolean): Option[DATA]
-
final
def
getLastDataByPredicateTillHeight(height: Integer)(p: (DATA) ⇒ Boolean): Option[DATA]
- Annotations
- @tailrec()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def height: Int
- def heightById(id: ID): Option[Int]
- def idByHeight(requestedHeight: Int): Option[ID]
-
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() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def parentOf(id: ID): Option[ID]
- def setNewBestBlock(newId: ID, newData: DATA): Unit
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
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()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated