org.bitcoins.core.protocol.dlc.models
EnumContractDescriptor
Companion object EnumContractDescriptor
case class EnumContractDescriptor(outcomeValueMap: Vector[(EnumOutcome, Satoshis)]) extends ContractDescriptor with TLVSerializable[ContractDescriptorV0TLV] with SeqWrapper[(EnumOutcome, Satoshis)] with Product with Serializable
The ContractDescriptor for enumerated outcome DLCs
- Alphabetic
- By Inheritance
- EnumContractDescriptor
- Serializable
- Product
- SeqWrapper
- IndexedSeq
- IndexedSeqOps
- IndexedSeq
- IndexedSeqOps
- Seq
- SeqOps
- Seq
- Equals
- SeqOps
- PartialFunction
- Function1
- Iterable
- Iterable
- IterableFactoryDefaults
- IterableOps
- IterableOnceOps
- IterableOnce
- ContractDescriptor
- TLVSerializable
- NetworkElement
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new EnumContractDescriptor(outcomeValueMap: Vector[(EnumOutcome, Satoshis)])
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ++[B >: (EnumOutcome, Satoshis)](suffix: IterableOnce[B]): IndexedSeq[B]
- Definition Classes
- IterableOps
- Annotations
- @inline()
- final def ++:[B >: (EnumOutcome, Satoshis)](prefix: IterableOnce[B]): IndexedSeq[B]
- Definition Classes
- SeqOps → IterableOps
- Annotations
- @inline()
- final def +:[B >: (EnumOutcome, Satoshis)](elem: B): IndexedSeq[B]
- Definition Classes
- SeqOps
- Annotations
- @inline()
- final def :+[B >: (EnumOutcome, Satoshis)](elem: B): IndexedSeq[B]
- Definition Classes
- SeqOps
- Annotations
- @inline()
- final def :++[B >: (EnumOutcome, Satoshis)](suffix: IterableOnce[B]): IndexedSeq[B]
- Definition Classes
- SeqOps
- Annotations
- @inline()
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def addString(b: StringBuilder): b.type
- Definition Classes
- IterableOnceOps
- Annotations
- @inline()
- final def addString(b: StringBuilder, sep: String): b.type
- Definition Classes
- IterableOnceOps
- Annotations
- @inline()
- def addString(b: StringBuilder, start: String, sep: String, end: String): b.type
- Definition Classes
- IterableOnceOps
- def andThen[C](k: PartialFunction[(EnumOutcome, Satoshis), C]): PartialFunction[Int, C]
- Definition Classes
- PartialFunction
- def andThen[C](k: ((EnumOutcome, Satoshis)) => C): PartialFunction[Int, C]
- Definition Classes
- PartialFunction → Function1
- def appended[B >: (EnumOutcome, Satoshis)](elem: B): IndexedSeq[B]
- Definition Classes
- SeqOps
- def appendedAll[B >: (EnumOutcome, Satoshis)](suffix: IterableOnce[B]): IndexedSeq[B]
- Definition Classes
- SeqOps
- def apply(idx: Int): (EnumOutcome, Satoshis)
- Definition Classes
- SeqWrapper → SeqOps → Function1
- def applyOrElse[A1 <: Int, B1 >: (EnumOutcome, Satoshis)](x: A1, default: (A1) => B1): B1
- Definition Classes
- PartialFunction
- def applyPreferredMaxLength: Int
- Attributes
- protected
- Definition Classes
- IndexedSeq
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def byteSize: Long
The size of the NetworkElement in bytes.
The size of the NetworkElement in bytes.
- Definition Classes
- NetworkElement
- def bytes: ByteVector
The byte representation of the NetworkElement
The byte representation of the NetworkElement
- Definition Classes
- TLVSerializable → NetworkElement
- def bytesLE: ByteVector
The byte representation of the NetworkElement in little endian
The byte representation of the NetworkElement in little endian
- Definition Classes
- NetworkElement
- def canEqual(that: Any): Boolean
- Definition Classes
- IndexedSeq → Seq → Equals
- def className: String
- Attributes
- protected[this]
- Definition Classes
- Iterable
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def coll: EnumContractDescriptor.this.type
- Attributes
- protected
- Definition Classes
- Iterable → IterableOps
- def collect[B](pf: PartialFunction[(EnumOutcome, Satoshis), B]): IndexedSeq[B]
- Definition Classes
- IterableOps → IterableOnceOps
- def collectFirst[B](pf: PartialFunction[(EnumOutcome, Satoshis), B]): Option[B]
- Definition Classes
- IterableOnceOps
- def combinations(n: Int): Iterator[IndexedSeq[(EnumOutcome, Satoshis)]]
- Definition Classes
- SeqOps
- def compose[R](k: PartialFunction[R, Int]): PartialFunction[R, (EnumOutcome, Satoshis)]
- Definition Classes
- PartialFunction
- def compose[A](g: (A) => Int): (A) => (EnumOutcome, Satoshis)
- Definition Classes
- Function1
- Annotations
- @unspecialized()
- final def concat[B >: (EnumOutcome, Satoshis)](suffix: IterableOnce[B]): IndexedSeq[B]
- Definition Classes
- SeqOps → IterableOps
- Annotations
- @inline()
- def contains[A1 >: (EnumOutcome, Satoshis)](elem: A1): Boolean
- Definition Classes
- SeqOps
- def containsSlice[B >: (EnumOutcome, Satoshis)](that: Seq[B]): Boolean
- Definition Classes
- SeqOps
- def copyToArray[B >: (EnumOutcome, Satoshis)](xs: Array[B], start: Int, len: Int): Int
- Definition Classes
- IterableOnceOps
- def copyToArray[B >: (EnumOutcome, Satoshis)](xs: Array[B], start: Int): Int
- Definition Classes
- IterableOnceOps
- Annotations
- @deprecatedOverriding()
- def copyToArray[B >: (EnumOutcome, Satoshis)](xs: Array[B]): Int
- Definition Classes
- IterableOnceOps
- Annotations
- @deprecatedOverriding()
- def corresponds[B](that: Seq[B])(p: ((EnumOutcome, Satoshis), B) => Boolean): Boolean
- Definition Classes
- SeqOps
- def corresponds[B](that: IterableOnce[B])(p: ((EnumOutcome, Satoshis), B) => Boolean): Boolean
- Definition Classes
- IterableOnceOps
- def count(p: ((EnumOutcome, Satoshis)) => Boolean): Int
- Definition Classes
- IterableOnceOps
- def diff[B >: (EnumOutcome, Satoshis)](that: Seq[B]): IndexedSeq[(EnumOutcome, Satoshis)]
- Definition Classes
- SeqOps
- def distinct: IndexedSeq[(EnumOutcome, Satoshis)]
- Definition Classes
- SeqOps
- def distinctBy[B](f: ((EnumOutcome, Satoshis)) => B): IndexedSeq[(EnumOutcome, Satoshis)]
- Definition Classes
- SeqOps
- def drop(n: Int): IndexedSeq[(EnumOutcome, Satoshis)]
- Definition Classes
- IndexedSeqOps → IterableOps → IterableOnceOps
- def dropRight(n: Int): IndexedSeq[(EnumOutcome, Satoshis)]
- Definition Classes
- IndexedSeqOps → IterableOps
- def dropWhile(p: ((EnumOutcome, Satoshis)) => Boolean): IndexedSeq[(EnumOutcome, Satoshis)]
- Definition Classes
- IterableOps → IterableOnceOps
- def elementWise: ElementWiseExtractor[Int, (EnumOutcome, Satoshis)]
- Definition Classes
- PartialFunction
- def empty: IndexedSeq[(EnumOutcome, Satoshis)]
- Definition Classes
- IterableFactoryDefaults → IterableOps
- def endsWith[B >: (EnumOutcome, Satoshis)](that: Iterable[B]): Boolean
- Definition Classes
- SeqOps
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(o: Any): Boolean
- Definition Classes
- Seq → Equals → AnyRef → Any
- def exists(p: ((EnumOutcome, Satoshis)) => Boolean): Boolean
- Definition Classes
- IterableOnceOps
- def filter(pred: ((EnumOutcome, Satoshis)) => Boolean): IndexedSeq[(EnumOutcome, Satoshis)]
- Definition Classes
- IterableOps → IterableOnceOps
- def filterNot(pred: ((EnumOutcome, Satoshis)) => Boolean): IndexedSeq[(EnumOutcome, Satoshis)]
- Definition Classes
- IterableOps → IterableOnceOps
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def find(p: ((EnumOutcome, Satoshis)) => Boolean): Option[(EnumOutcome, Satoshis)]
- Definition Classes
- IterableOnceOps
- def findLast(p: ((EnumOutcome, Satoshis)) => Boolean): Option[(EnumOutcome, Satoshis)]
- Definition Classes
- SeqOps
- def flatMap[B](f: ((EnumOutcome, Satoshis)) => IterableOnce[B]): IndexedSeq[B]
- Definition Classes
- IterableOps → IterableOnceOps
- def flatten[B](implicit asIterable: ((EnumOutcome, Satoshis)) => IterableOnce[B]): IndexedSeq[B]
- Definition Classes
- IterableOps → IterableOnceOps
- def flip(totalCollateral: Satoshis): EnumContractDescriptor
Returns the counter-party's ContractDescriptor corresponding to this one.
Returns the counter-party's ContractDescriptor corresponding to this one.
WARNING: this(outcome) + flip(TC)(outcome) is not guaranteed to equal TC. As such, this should not be used to generate pairs of ContractInfos and should only be used to replace a ContractInfo with another one of the flipped perspective. An example case is for MultiNonceContractInfo where flipping the interpolation points could lead to an off-by-one after rounding so that the sum above gives TC-1. In this example, only the offerer's ContractInfo should be used.
- Definition Classes
- EnumContractDescriptor → ContractDescriptor
- def fold[A1 >: (EnumOutcome, Satoshis)](z: A1)(op: (A1, A1) => A1): A1
- Definition Classes
- IterableOnceOps
- def foldLeft[B](z: B)(op: (B, (EnumOutcome, Satoshis)) => B): B
- Definition Classes
- IterableOnceOps
- def foldRight[B](z: B)(op: ((EnumOutcome, Satoshis), B) => B): B
- Definition Classes
- IndexedSeqOps → IterableOnceOps
- def forall(p: ((EnumOutcome, Satoshis)) => Boolean): Boolean
- Definition Classes
- IterableOnceOps
- def foreach[U](f: ((EnumOutcome, Satoshis)) => U): Unit
- Definition Classes
- IterableOnceOps
- def fromSpecific(coll: IterableOnce[(EnumOutcome, Satoshis)]): IndexedSeq[(EnumOutcome, Satoshis)]
- Attributes
- protected
- Definition Classes
- IterableFactoryDefaults → IterableOps
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def groupBy[K](f: ((EnumOutcome, Satoshis)) => K): Map[K, IndexedSeq[(EnumOutcome, Satoshis)]]
- Definition Classes
- IterableOps
- def groupMap[K, B](key: ((EnumOutcome, Satoshis)) => K)(f: ((EnumOutcome, Satoshis)) => B): Map[K, IndexedSeq[B]]
- Definition Classes
- IterableOps
- def groupMapReduce[K, B](key: ((EnumOutcome, Satoshis)) => K)(f: ((EnumOutcome, Satoshis)) => B)(reduce: (B, B) => B): Map[K, B]
- Definition Classes
- IterableOps
- def grouped(size: Int): Iterator[IndexedSeq[(EnumOutcome, Satoshis)]]
- Definition Classes
- IterableOps
- def hashCode(): Int
- Definition Classes
- Seq → AnyRef → Any
- def head: (EnumOutcome, Satoshis)
- Definition Classes
- IndexedSeqOps → IterableOps
- def headOption: Option[(EnumOutcome, Satoshis)]
- Definition Classes
- IndexedSeqOps → IterableOps
- def hex: String
The hexadecimal representation of the NetworkElement
The hexadecimal representation of the NetworkElement
- Definition Classes
- NetworkElement
- def hexLE: String
The hexadecimal representation of the NetworkElement in little endian
The hexadecimal representation of the NetworkElement in little endian
- Definition Classes
- NetworkElement
- def indexOf[B >: (EnumOutcome, Satoshis)](elem: B): Int
- Definition Classes
- SeqOps
- Annotations
- @deprecatedOverriding()
- def indexOf[B >: (EnumOutcome, Satoshis)](elem: B, from: Int): Int
- Definition Classes
- SeqOps
- def indexOfSlice[B >: (EnumOutcome, Satoshis)](that: Seq[B]): Int
- Definition Classes
- SeqOps
- Annotations
- @deprecatedOverriding()
- def indexOfSlice[B >: (EnumOutcome, Satoshis)](that: Seq[B], from: Int): Int
- Definition Classes
- SeqOps
- def indexWhere(p: ((EnumOutcome, Satoshis)) => Boolean): Int
- Definition Classes
- SeqOps
- Annotations
- @deprecatedOverriding()
- def indexWhere(p: ((EnumOutcome, Satoshis)) => Boolean, from: Int): Int
- Definition Classes
- SeqOps
- def indices: Range
- Definition Classes
- SeqOps
- def init: IndexedSeq[(EnumOutcome, Satoshis)]
- Definition Classes
- IterableOps
- def inits: Iterator[IndexedSeq[(EnumOutcome, Satoshis)]]
- Definition Classes
- IterableOps
- def intersect[B >: (EnumOutcome, Satoshis)](that: Seq[B]): IndexedSeq[(EnumOutcome, Satoshis)]
- Definition Classes
- SeqOps
- def isDefinedAt(idx: Int): Boolean
- Definition Classes
- SeqOps
- def isEmpty: Boolean
- Definition Classes
- SeqOps → IterableOnceOps
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isTraversableAgain: Boolean
- Definition Classes
- IterableOps → IterableOnceOps
- def iterableFactory: SeqFactory[IndexedSeq]
- Definition Classes
- IndexedSeq → IndexedSeq → Seq → Seq → Iterable → Iterable → IterableOps
- def iterator: Iterator[(EnumOutcome, Satoshis)]
- Definition Classes
- SeqWrapper → IndexedSeqOps → IterableOnce
- def keys: Vector[EnumOutcome]
- def knownSize: Int
- Definition Classes
- IndexedSeqOps → IterableOnce
- def last: (EnumOutcome, Satoshis)
- Definition Classes
- IndexedSeqOps → IterableOps
- def lastIndexOf[B >: (EnumOutcome, Satoshis)](elem: B, end: Int): Int
- Definition Classes
- SeqOps
- def lastIndexOfSlice[B >: (EnumOutcome, Satoshis)](that: Seq[B]): Int
- Definition Classes
- SeqOps
- Annotations
- @deprecatedOverriding()
- def lastIndexOfSlice[B >: (EnumOutcome, Satoshis)](that: Seq[B], end: Int): Int
- Definition Classes
- SeqOps
- def lastIndexWhere(p: ((EnumOutcome, Satoshis)) => Boolean): Int
- Definition Classes
- SeqOps
- Annotations
- @deprecatedOverriding()
- def lastIndexWhere(p: ((EnumOutcome, Satoshis)) => Boolean, end: Int): Int
- Definition Classes
- SeqOps
- def lastOption: Option[(EnumOutcome, Satoshis)]
- Definition Classes
- IterableOps
- def lazyZip[B](that: Iterable[B]): LazyZip2[(EnumOutcome, Satoshis), B, EnumContractDescriptor.this.type]
- Definition Classes
- Iterable
- def length: Int
- Definition Classes
- SeqWrapper → SeqOps
- final def lengthCompare(that: Iterable[_]): Int
- Definition Classes
- IndexedSeqOps → SeqOps
- final def lengthCompare(len: Int): Int
- Definition Classes
- IndexedSeqOps → SeqOps
- final def lengthIs: SizeCompareOps
- Definition Classes
- SeqOps
- Annotations
- @inline()
- def lift: (Int) => Option[(EnumOutcome, Satoshis)]
- Definition Classes
- PartialFunction
- def map[B](f: ((EnumOutcome, Satoshis)) => B): IndexedSeq[B]
- Definition Classes
- IndexedSeqOps → IterableOps → IterableOnceOps
- def max[B >: (EnumOutcome, Satoshis)](implicit ord: Ordering[B]): (EnumOutcome, Satoshis)
- Definition Classes
- IterableOnceOps
- def maxBy[B](f: ((EnumOutcome, Satoshis)) => B)(implicit ord: Ordering[B]): (EnumOutcome, Satoshis)
- Definition Classes
- IterableOnceOps
- def maxByOption[B](f: ((EnumOutcome, Satoshis)) => B)(implicit ord: Ordering[B]): Option[(EnumOutcome, Satoshis)]
- Definition Classes
- IterableOnceOps
- def maxOption[B >: (EnumOutcome, Satoshis)](implicit ord: Ordering[B]): Option[(EnumOutcome, Satoshis)]
- Definition Classes
- IterableOnceOps
- def min[B >: (EnumOutcome, Satoshis)](implicit ord: Ordering[B]): (EnumOutcome, Satoshis)
- Definition Classes
- IterableOnceOps
- def minBy[B](f: ((EnumOutcome, Satoshis)) => B)(implicit ord: Ordering[B]): (EnumOutcome, Satoshis)
- Definition Classes
- IterableOnceOps
- def minByOption[B](f: ((EnumOutcome, Satoshis)) => B)(implicit ord: Ordering[B]): Option[(EnumOutcome, Satoshis)]
- Definition Classes
- IterableOnceOps
- def minOption[B >: (EnumOutcome, Satoshis)](implicit ord: Ordering[B]): Option[(EnumOutcome, Satoshis)]
- Definition Classes
- IterableOnceOps
- final def mkString: String
- Definition Classes
- IterableOnceOps
- Annotations
- @inline()
- final def mkString(sep: String): String
- Definition Classes
- IterableOnceOps
- Annotations
- @inline()
- final def mkString(start: String, sep: String, end: String): String
- Definition Classes
- IterableOnceOps
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def newSpecificBuilder: Builder[(EnumOutcome, Satoshis), IndexedSeq[(EnumOutcome, Satoshis)]]
- Attributes
- protected
- Definition Classes
- IterableFactoryDefaults → IterableOps
- def nonEmpty: Boolean
- Definition Classes
- IterableOnceOps
- Annotations
- @deprecatedOverriding()
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def occCounts[B](sq: Seq[B]): Map[B, Int]
- Attributes
- protected[collection]
- Definition Classes
- SeqOps
- def orElse[A1 <: Int, B1 >: (EnumOutcome, Satoshis)](that: PartialFunction[A1, B1]): PartialFunction[A1, B1]
- Definition Classes
- PartialFunction
- val outcomeValueMap: Vector[(EnumOutcome, Satoshis)]
- def padTo[B >: (EnumOutcome, Satoshis)](len: Int, elem: B): IndexedSeq[B]
- Definition Classes
- SeqOps
- def partition(p: ((EnumOutcome, Satoshis)) => Boolean): (IndexedSeq[(EnumOutcome, Satoshis)], IndexedSeq[(EnumOutcome, Satoshis)])
- Definition Classes
- IterableOps
- def partitionMap[A1, A2](f: ((EnumOutcome, Satoshis)) => Either[A1, A2]): (IndexedSeq[A1], IndexedSeq[A2])
- Definition Classes
- IterableOps
- def patch[B >: (EnumOutcome, Satoshis)](from: Int, other: IterableOnce[B], replaced: Int): IndexedSeq[B]
- Definition Classes
- SeqOps
- def permutations: Iterator[IndexedSeq[(EnumOutcome, Satoshis)]]
- Definition Classes
- SeqOps
- def prepended[B >: (EnumOutcome, Satoshis)](elem: B): IndexedSeq[B]
- Definition Classes
- IndexedSeqOps → SeqOps
- def prependedAll[B >: (EnumOutcome, Satoshis)](prefix: IterableOnce[B]): IndexedSeq[B]
- Definition Classes
- SeqOps
- def product[B >: (EnumOutcome, Satoshis)](implicit num: Numeric[B]): B
- Definition Classes
- IterableOnceOps
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def reduce[B >: (EnumOutcome, Satoshis)](op: (B, B) => B): B
- Definition Classes
- IterableOnceOps
- def reduceLeft[B >: (EnumOutcome, Satoshis)](op: (B, (EnumOutcome, Satoshis)) => B): B
- Definition Classes
- IterableOnceOps
- def reduceLeftOption[B >: (EnumOutcome, Satoshis)](op: (B, (EnumOutcome, Satoshis)) => B): Option[B]
- Definition Classes
- IterableOnceOps
- def reduceOption[B >: (EnumOutcome, Satoshis)](op: (B, B) => B): Option[B]
- Definition Classes
- IterableOnceOps
- def reduceRight[B >: (EnumOutcome, Satoshis)](op: ((EnumOutcome, Satoshis), B) => B): B
- Definition Classes
- IterableOnceOps
- def reduceRightOption[B >: (EnumOutcome, Satoshis)](op: ((EnumOutcome, Satoshis), B) => B): Option[B]
- Definition Classes
- IterableOnceOps
- def reverse: IndexedSeq[(EnumOutcome, Satoshis)]
- Definition Classes
- IndexedSeqOps → SeqOps
- def reverseIterator: Iterator[(EnumOutcome, Satoshis)]
- Definition Classes
- IndexedSeqOps → SeqOps
- def reversed: Iterable[(EnumOutcome, Satoshis)]
- Attributes
- protected
- Definition Classes
- IndexedSeqOps → IterableOnceOps
- def runWith[U](action: ((EnumOutcome, Satoshis)) => U): (Int) => Boolean
- Definition Classes
- PartialFunction
- def sameElements[B >: (EnumOutcome, Satoshis)](o: IterableOnce[B]): Boolean
- Definition Classes
- IndexedSeq → SeqOps
- def scan[B >: (EnumOutcome, Satoshis)](z: B)(op: (B, B) => B): IndexedSeq[B]
- Definition Classes
- IterableOps
- def scanLeft[B](z: B)(op: (B, (EnumOutcome, Satoshis)) => B): IndexedSeq[B]
- Definition Classes
- IterableOps → IterableOnceOps
- def scanRight[B](z: B)(op: ((EnumOutcome, Satoshis), B) => B): IndexedSeq[B]
- Definition Classes
- IterableOps
- def search[B >: (EnumOutcome, Satoshis)](elem: B, from: Int, to: Int)(implicit ord: Ordering[B]): SearchResult
- Definition Classes
- IndexedSeqOps → SeqOps
- def search[B >: (EnumOutcome, Satoshis)](elem: B)(implicit ord: Ordering[B]): SearchResult
- Definition Classes
- IndexedSeqOps → SeqOps
- def segmentLength(p: ((EnumOutcome, Satoshis)) => Boolean, from: Int): Int
- Definition Classes
- SeqOps
- final def segmentLength(p: ((EnumOutcome, Satoshis)) => Boolean): Int
- Definition Classes
- SeqOps
- final def size: Int
- Definition Classes
- SeqOps → IterableOnceOps
- final def sizeCompare(that: Iterable[_]): Int
- Definition Classes
- SeqOps → IterableOps
- final def sizeCompare(otherSize: Int): Int
- Definition Classes
- SeqOps → IterableOps
- final def sizeIs: SizeCompareOps
- Definition Classes
- IterableOps
- Annotations
- @inline()
- def slice(from: Int, until: Int): IndexedSeq[(EnumOutcome, Satoshis)]
- Definition Classes
- IndexedSeqOps → IndexedSeqOps → IterableOps → IterableOnceOps
- def sliding(size: Int, step: Int): Iterator[IndexedSeq[(EnumOutcome, Satoshis)]]
- Definition Classes
- IterableOps
- def sliding(size: Int): Iterator[IndexedSeq[(EnumOutcome, Satoshis)]]
- Definition Classes
- IterableOps
- def sortBy[B](f: ((EnumOutcome, Satoshis)) => B)(implicit ord: Ordering[B]): IndexedSeq[(EnumOutcome, Satoshis)]
- Definition Classes
- SeqOps
- def sortWith(lt: ((EnumOutcome, Satoshis), (EnumOutcome, Satoshis)) => Boolean): IndexedSeq[(EnumOutcome, Satoshis)]
- Definition Classes
- SeqOps
- def sorted[B >: (EnumOutcome, Satoshis)](implicit ord: Ordering[B]): IndexedSeq[(EnumOutcome, Satoshis)]
- Definition Classes
- SeqOps
- def span(p: ((EnumOutcome, Satoshis)) => Boolean): (IndexedSeq[(EnumOutcome, Satoshis)], IndexedSeq[(EnumOutcome, Satoshis)])
- Definition Classes
- IterableOps → IterableOnceOps
- def splitAt(n: Int): (IndexedSeq[(EnumOutcome, Satoshis)], IndexedSeq[(EnumOutcome, Satoshis)])
- Definition Classes
- IterableOps → IterableOnceOps
- def startsWith[B >: (EnumOutcome, Satoshis)](that: IterableOnce[B], offset: Int): Boolean
- Definition Classes
- SeqOps
- def stepper[S <: Stepper[_]](implicit shape: StepperShape[(EnumOutcome, Satoshis), S]): S with EfficientSplit
- Definition Classes
- IndexedSeqOps → IterableOnce
- def stringPrefix: String
- Attributes
- protected[this]
- Definition Classes
- IndexedSeq → Seq → Iterable
- def sum[B >: (EnumOutcome, Satoshis)](implicit num: Numeric[B]): B
- Definition Classes
- IterableOnceOps
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def tail: IndexedSeq[(EnumOutcome, Satoshis)]
- Definition Classes
- IterableOps
- def tails: Iterator[IndexedSeq[(EnumOutcome, Satoshis)]]
- Definition Classes
- IterableOps
- def take(n: Int): IndexedSeq[(EnumOutcome, Satoshis)]
- Definition Classes
- IndexedSeqOps → IterableOps → IterableOnceOps
- def takeRight(n: Int): IndexedSeq[(EnumOutcome, Satoshis)]
- Definition Classes
- IndexedSeqOps → IterableOps
- def takeWhile(p: ((EnumOutcome, Satoshis)) => Boolean): IndexedSeq[(EnumOutcome, Satoshis)]
- Definition Classes
- IterableOps → IterableOnceOps
- def tapEach[U](f: ((EnumOutcome, Satoshis)) => U): IndexedSeq[(EnumOutcome, Satoshis)]
- Definition Classes
- IterableOps → IterableOnceOps
- def to[C1](factory: Factory[(EnumOutcome, Satoshis), C1]): C1
- Definition Classes
- IterableOnceOps
- def toArray[B >: (EnumOutcome, Satoshis)](implicit arg0: ClassTag[B]): Array[B]
- Definition Classes
- IterableOnceOps
- final def toBuffer[B >: (EnumOutcome, Satoshis)]: Buffer[B]
- Definition Classes
- IterableOnceOps
- Annotations
- @inline()
- final def toIndexedSeq: IndexedSeq[(EnumOutcome, Satoshis)]
- Definition Classes
- IndexedSeq → IterableOnceOps
- def toList: List[(EnumOutcome, Satoshis)]
- Definition Classes
- IterableOnceOps
- def toMap[K, V](implicit ev: <:<[(EnumOutcome, Satoshis), (K, V)]): Map[K, V]
- Definition Classes
- IterableOnceOps
- final def toSeq: EnumContractDescriptor.this.type
- Definition Classes
- Seq → IterableOnceOps
- def toSet[B >: (EnumOutcome, Satoshis)]: Set[B]
- Definition Classes
- IterableOnceOps
- def toString(): String
- Definition Classes
- Seq → Function1 → Iterable → AnyRef → Any
- def toTLV: ContractDescriptorV0TLV
- Definition Classes
- EnumContractDescriptor → TLVSerializable
- def toVector: Vector[(EnumOutcome, Satoshis)]
- Definition Classes
- IterableOnceOps
- def transpose[B](implicit asIterable: ((EnumOutcome, Satoshis)) => Iterable[B]): IndexedSeq[IndexedSeq[B]]
- Definition Classes
- IterableOps
- def unapply(a: Int): Option[(EnumOutcome, Satoshis)]
- Definition Classes
- PartialFunction
- def unzip[A1, A2](implicit asPair: ((EnumOutcome, Satoshis)) => (A1, A2)): (IndexedSeq[A1], IndexedSeq[A2])
- Definition Classes
- IterableOps
- def unzip3[A1, A2, A3](implicit asTriple: ((EnumOutcome, Satoshis)) => (A1, A2, A3)): (IndexedSeq[A1], IndexedSeq[A2], IndexedSeq[A3])
- Definition Classes
- IterableOps
- def updated[B >: (EnumOutcome, Satoshis)](index: Int, elem: B): IndexedSeq[B]
- Definition Classes
- SeqOps
- def values: Vector[Satoshis]
- def view: IndexedSeqView[(EnumOutcome, Satoshis)]
- Definition Classes
- IndexedSeqOps → SeqOps → IterableOps
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- def withFilter(p: ((EnumOutcome, Satoshis)) => Boolean): WithFilter[(EnumOutcome, Satoshis), [_]IndexedSeq[_]]
- Definition Classes
- IterableOps
- def wrapped: Vector[(EnumOutcome, Satoshis)]
- Definition Classes
- EnumContractDescriptor → SeqWrapper
- def zip[B](that: IterableOnce[B]): IndexedSeq[((EnumOutcome, Satoshis), B)]
- Definition Classes
- IterableOps
- def zipAll[A1 >: (EnumOutcome, Satoshis), B](that: Iterable[B], thisElem: A1, thatElem: B): IndexedSeq[(A1, B)]
- Definition Classes
- IterableOps
- def zipWithIndex: IndexedSeq[((EnumOutcome, Satoshis), Int)]
- Definition Classes
- IterableOps → IterableOnceOps
Deprecated Value Members
- final def /:[B](z: B)(op: (B, (EnumOutcome, Satoshis)) => B): B
- Definition Classes
- IterableOnceOps
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use foldLeft instead of /:
- final def :\[B](z: B)(op: ((EnumOutcome, Satoshis), B) => B): B
- Definition Classes
- IterableOnceOps
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use foldRight instead of :\
- def aggregate[B](z: => B)(seqop: (B, (EnumOutcome, Satoshis)) => B, combop: (B, B) => B): B
- Definition Classes
- IterableOnceOps
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) For sequential collections, prefer
foldLeft(z)(seqop)
. For parallel collections, useParIterableLike#aggregate
.
- def companion: IterableFactory[[_]IndexedSeq[_]]
- Definition Classes
- IterableOps
- Annotations
- @deprecated @deprecatedOverriding() @inline()
- Deprecated
(Since version 2.13.0) Use iterableFactory instead
- final def copyToBuffer[B >: (EnumOutcome, Satoshis)](dest: Buffer[B]): Unit
- Definition Classes
- IterableOnceOps
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use
dest ++= coll
instead
- def hasDefiniteSize: Boolean
- Definition Classes
- IterableOnceOps
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Check .knownSize instead of .hasDefiniteSize for more actionable information (see scaladoc for details)
- final def prefixLength(p: ((EnumOutcome, Satoshis)) => Boolean): Int
- Definition Classes
- SeqOps
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use segmentLength instead of prefixLength
- final def repr: IndexedSeq[(EnumOutcome, Satoshis)]
- Definition Classes
- IterableOps
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use coll instead of repr in a collection implementation, use the collection value itself from the outside
- def reverseMap[B](f: ((EnumOutcome, Satoshis)) => B): IndexedSeq[B]
- Definition Classes
- SeqOps
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .reverseIterator.map(f).to(...) instead of .reverseMap(f)
- def seq: EnumContractDescriptor.this.type
- Definition Classes
- Iterable
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Iterable.seq always returns the iterable itself
- final def toIterable: EnumContractDescriptor.this.type
- Definition Classes
- Iterable → IterableOps
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.7) toIterable is internal and will be made protected; its name is similar to
toList
ortoSeq
, but it doesn't copy non-immutable collections
- final def toIterator: Iterator[(EnumOutcome, Satoshis)]
- Definition Classes
- IterableOnceOps
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use .iterator instead of .toIterator
- final def toStream: Stream[(EnumOutcome, Satoshis)]
- Definition Classes
- IterableOnceOps
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use .to(LazyList) instead of .toStream
- final def toTraversable: Traversable[(EnumOutcome, Satoshis)]
- Definition Classes
- IterableOps
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) toTraversable is internal and will be made protected; its name is similar to
toList
ortoSeq
, but it doesn't copy non-immutable collections
- final def union[B >: (EnumOutcome, Satoshis)](that: Seq[B]): IndexedSeq[B]
- Definition Classes
- SeqOps
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use
concat
instead
- def view(from: Int, until: Int): IndexedSeqView[(EnumOutcome, Satoshis)]
- Definition Classes
- IndexedSeqOps → IterableOps
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .view.slice(from, until) instead of .view(from, until)