LazyMap

class LazyMap[A, +B](under: => Map[A, B], _name: String, _isSupplied: () => Boolean, val cliOption: Option[CliOption]) extends Map[A, B] with ScallopOptionBase

A class that lazily encapsulates a map inside.

A class that lazily encapsulates a map inside.

trait Map[A, B]
trait MapOps[A, B, [K, V] =>> Map[K, V], Map[A, B]]
trait Map[A, B]
trait Equals
trait MapFactoryDefaults[A, B, [K, V] =>> Map[K, V], [A] =>> Iterable[A]]
trait MapOps[A, B, [K, V] =>> Map[K, V], Map[A, B]]
trait PartialFunction[A, B]
trait A => B
trait Iterable[(A, B)]
trait Iterable[(A, B)]
trait IterableFactoryDefaults[(A, B), [A] =>> Iterable[A]]
trait IterableOps[(A, B), [A] =>> Iterable[A], Map[A, B]]
trait IterableOnceOps[(A, B), [A] =>> Iterable[A], Map[A, B]]
trait IterableOnce[(A, B)]
class Object
trait Matchable
class Any

Type members

Inherited classlikes

protected class ImmutableKeySet
Inherited from
MapOps

Value members

Concrete methods

def get(key: A): Option[B]
def isSupplied: Boolean
def iterator: Iterator[(A, B)]
def name: String
def removed(key: A): Map[A, B]
def updated[B1 >: B](key: A, value: B1): Map[A, B1]

Inherited methods

override def +[V1 >: B](kv: (A, V1)): Map[A, V1]
Definition Classes
MapOps -> MapOps
Inherited from
MapOps
@inline
final def ++[B >: (A, B)](suffix: IterableOnce[B]): Iterable[B]
Inherited from
IterableOps
def ++[V2 >: B](xs: IterableOnce[(A, V2)]): Map[A, V2]
Inherited from
MapOps
@inline
final def -(key: A): Map[A, B]
Inherited from
MapOps
@inline
final override def --(keys: IterableOnce[A]): Map[A, B]
Definition Classes
MapOps -> MapOps
Inherited from
MapOps
@inline
final def addString(b: StringBuilder): StringBuilder
Inherited from
IterableOnceOps
@inline
final def addString(b: StringBuilder, sep: String): StringBuilder
Inherited from
IterableOnceOps
override def addString(sb: StringBuilder, start: String, sep: String, end: String): StringBuilder
Definition Classes
MapOps -> IterableOnceOps
Inherited from
MapOps
def andThen[C](k: PartialFunction[B, C]): PartialFunction[A, C]
Inherited from
PartialFunction
override def andThen[C](k: B => C): PartialFunction[A, C]
Definition Classes
PartialFunction -> Function1
Inherited from
PartialFunction
@throws(scala.this.throws.$lessinit$greater$default$1[scala.NoSuchElementException])
def apply(key: A): B
Inherited from
MapOps
override def applyOrElse[K1 <: A, V1 >: B](x: K1, default: K1 => V1): V1
Definition Classes
MapOps -> PartialFunction
Inherited from
MapOps
def canEqual(that: Any): Boolean
Inherited from
Map
def collect[B](pf: PartialFunction[(A, B), B]): Iterable[B]
Inherited from
IterableOps
def collect[K2, V2](pf: PartialFunction[(A, B), (K2, V2)]): Map[K2, V2]
Inherited from
MapOps
def collectFirst[B](pf: PartialFunction[(A, B), B]): Option[B]
Inherited from
IterableOnceOps
def compose[R](k: PartialFunction[R, A]): PartialFunction[R, B]
Inherited from
PartialFunction
@unspecialized
def compose[A](g: A => A): A => B
Inherited from
Function1
def concat[B >: (A, B)](suffix: IterableOnce[B]): Iterable[B]
Inherited from
IterableOps
def concat[V2 >: B](suffix: IterableOnce[(A, V2)]): Map[A, V2]
Inherited from
MapOps
def contains(key: A): Boolean
Inherited from
MapOps
def copyToArray[B >: (A, B)](xs: Array[B], start: Int, len: Int): Int
Inherited from
IterableOnceOps
@deprecatedOverriding("This should always forward to the 3-arg version of this method", "2.13.4")
def copyToArray[B >: (A, B)](xs: Array[B], start: Int): Int
Inherited from
IterableOnceOps
@deprecatedOverriding("This should always forward to the 3-arg version of this method", "2.13.4")
def copyToArray[B >: (A, B)](xs: Array[B]): Int
Inherited from
IterableOnceOps
def corresponds[B](that: IterableOnce[B])(p: ((A, B), B) => Boolean): Boolean
Inherited from
IterableOnceOps
def count(p: (A, B) => Boolean): Int
Inherited from
IterableOnceOps
@throws(scala.this.throws.$lessinit$greater$default$1[scala.NoSuchElementException])
def default(key: A): B
Inherited from
MapOps
def drop(n: Int): Map[A, B]
Inherited from
IterableOps
def dropRight(n: Int): Map[A, B]
Inherited from
IterableOps
def dropWhile(p: (A, B) => Boolean): Map[A, B]
Inherited from
IterableOps
def elementWise: ElementWiseExtractor[A, B]
Inherited from
PartialFunction
override def empty: Map[A, B]
Definition Classes
MapFactoryDefaults -> IterableOps
Inherited from
MapFactoryDefaults
override def equals(o: Any): Boolean
Definition Classes
Map -> Equals -> Any
Inherited from
Map
def exists(p: (A, B) => Boolean): Boolean
Inherited from
IterableOnceOps
def filter(pred: (A, B) => Boolean): Map[A, B]
Inherited from
IterableOps
def filterNot(pred: (A, B) => Boolean): Map[A, B]
Inherited from
IterableOps
def find(p: (A, B) => Boolean): Option[(A, B)]
Inherited from
IterableOnceOps
def flatMap[B](f: (A, B) => IterableOnce[B]): Iterable[B]
Inherited from
IterableOps
def flatMap[K2, V2](f: (A, B) => IterableOnce[(K2, V2)]): Map[K2, V2]
Inherited from
MapOps
def flatten[B](asIterable: (A, B) => IterableOnce[B]): Iterable[B]
Inherited from
IterableOps
def fold[A1 >: (A, B)](z: A1)(op: (A1, A1) => A1): A1
Inherited from
IterableOnceOps
def foldLeft[B](z: B)(op: (B, (A, B)) => B): B
Inherited from
IterableOnceOps
def foldRight[B](z: B)(op: ((A, B), B) => B): B
Inherited from
IterableOnceOps
def forall(p: (A, B) => Boolean): Boolean
Inherited from
IterableOnceOps
def foreach[U](f: (A, B) => U): Unit
Inherited from
IterableOnceOps
def foreachEntry[U](f: (A, B) => U): Unit
Inherited from
MapOps
override protected def fromSpecific(coll: IterableOnce[(A, B)]): Map[A, B]
Definition Classes
MapFactoryDefaults -> IterableOps
Inherited from
MapFactoryDefaults
def getOrElse[V1 >: B](key: A, default: => V1): V1
Inherited from
MapOps
def groupBy[K](f: (A, B) => K): Map[K, Map[A, B]]
Inherited from
IterableOps
def groupMap[K, B](key: (A, B) => K)(f: (A, B) => B): Map[K, Iterable[B]]
Inherited from
IterableOps
def groupMapReduce[K, B](key: (A, B) => K)(f: (A, B) => B)(reduce: (B, B) => B): Map[K, B]
Inherited from
IterableOps
def grouped(size: Int): Iterator[Map[A, B]]
Inherited from
IterableOps
override def hashCode(): Int
Definition Classes
Map -> Any
Inherited from
Map
def head: (A, B)
Inherited from
IterableOps
def headOption: Option[(A, B)]
Inherited from
IterableOps
def init: Map[A, B]
Inherited from
IterableOps
def inits: Iterator[Map[A, B]]
Inherited from
IterableOps
def isDefinedAt(key: A): Boolean
Inherited from
MapOps
def isEmpty: Boolean
Inherited from
IterableOnceOps
override def isTraversableAgain: Boolean
Definition Classes
IterableOps -> IterableOnceOps
Inherited from
IterableOps
override def iterableFactory: IterableFactory[[A] =>> Iterable[A]]
Definition Classes
Iterable -> Iterable -> IterableOps
Inherited from
Iterable
override def keySet: Set[A]
Definition Classes
MapOps -> MapOps
Inherited from
MapOps
def keyStepper[S <: Stepper[_]](shape: StepperShape[A, S]): S
Inherited from
MapOps
def keys: Iterable[A]
Inherited from
MapOps
def keysIterator: Iterator[A]
Inherited from
MapOps
def knownSize: Int
Inherited from
IterableOnce
def last: (A, B)
Inherited from
IterableOps
def lastOption: Option[(A, B)]
Inherited from
IterableOps
def lazyZip[B](that: Iterable[B]): LazyZip2[(A, B), B, LazyMap[A, B]]
Inherited from
Iterable
def lift: A => Option[B]
Inherited from
PartialFunction
def map[B](f: (A, B) => B): Iterable[B]
Inherited from
IterableOps
def map[K2, V2](f: (A, B) => (K2, V2)): Map[K2, V2]
Inherited from
MapOps
override def mapFactory: MapFactory[[K, V] =>> Map[K, V]]
Definition Classes
Map -> Map -> MapOps
Inherited from
Map
def max[B >: (A, B)](ord: Ordering[B]): (A, B)
Inherited from
IterableOnceOps
def maxBy[B](f: (A, B) => B)(cmp: Ordering[B]): (A, B)
Inherited from
IterableOnceOps
def maxByOption[B](f: (A, B) => B)(cmp: Ordering[B]): Option[(A, B)]
Inherited from
IterableOnceOps
def maxOption[B >: (A, B)](ord: Ordering[B]): Option[(A, B)]
Inherited from
IterableOnceOps
def min[B >: (A, B)](ord: Ordering[B]): (A, B)
Inherited from
IterableOnceOps
def minBy[B](f: (A, B) => B)(cmp: Ordering[B]): (A, B)
Inherited from
IterableOnceOps
def minByOption[B](f: (A, B) => B)(cmp: Ordering[B]): Option[(A, B)]
Inherited from
IterableOnceOps
def minOption[B >: (A, B)](ord: Ordering[B]): Option[(A, B)]
Inherited from
IterableOnceOps
@inline
final def mkString: String
Inherited from
IterableOnceOps
@inline
final def mkString(sep: String): String
Inherited from
IterableOnceOps
final def mkString(start: String, sep: String, end: String): String
Inherited from
IterableOnceOps
override protected def newSpecificBuilder: Builder[(A, B), Map[A, B]]
Definition Classes
MapFactoryDefaults -> IterableOps
Inherited from
MapFactoryDefaults
@deprecatedOverriding("nonEmpty is defined as !isEmpty; override isEmpty instead", "2.13.0")
def nonEmpty: Boolean
Inherited from
IterableOnceOps
def orElse[A1 <: A, B1 >: B](that: PartialFunction[A1, B1]): PartialFunction[A1, B1]
Inherited from
PartialFunction
def partition(p: (A, B) => Boolean): (Map[A, B], Map[A, B])
Inherited from
IterableOps
def partitionMap[A1, A2](f: (A, B) => Either[A1, A2]): (Iterable[A1], Iterable[A2])
Inherited from
IterableOps
def product[B >: (A, B)](num: Numeric[B]): B
Inherited from
IterableOnceOps
def reduce[B >: (A, B)](op: (B, B) => B): B
Inherited from
IterableOnceOps
def reduceLeft[B >: (A, B)](op: (B, (A, B)) => B): B
Inherited from
IterableOnceOps
def reduceLeftOption[B >: (A, B)](op: (B, (A, B)) => B): Option[B]
Inherited from
IterableOnceOps
def reduceOption[B >: (A, B)](op: (B, B) => B): Option[B]
Inherited from
IterableOnceOps
def reduceRight[B >: (A, B)](op: ((A, B), B) => B): B
Inherited from
IterableOnceOps
def reduceRightOption[B >: (A, B)](op: ((A, B), B) => B): Option[B]
Inherited from
IterableOnceOps
def removedAll(keys: IterableOnce[A]): Map[A, B]
Inherited from
MapOps
protected def reversed: Iterable[(A, B)]
Inherited from
IterableOnceOps
def runWith[U](action: B => U): A => Boolean
Inherited from
PartialFunction
def scan[B >: (A, B)](z: B)(op: (B, B) => B): Iterable[B]
Inherited from
IterableOps
def scanLeft[B](z: B)(op: (B, (A, B)) => B): Iterable[B]
Inherited from
IterableOps
def scanRight[B](z: B)(op: ((A, B), B) => B): Iterable[B]
Inherited from
IterableOps
def size: Int
Inherited from
IterableOnceOps
def sizeCompare(that: Iterable[_]): Int
Inherited from
IterableOps
def sizeCompare(otherSize: Int): Int
Inherited from
IterableOps
@inline
final def sizeIs: SizeCompareOps
Inherited from
IterableOps
def slice(from: Int, until: Int): Map[A, B]
Inherited from
IterableOps
def sliding(size: Int, step: Int): Iterator[Map[A, B]]
Inherited from
IterableOps
def sliding(size: Int): Iterator[Map[A, B]]
Inherited from
IterableOps
def span(p: (A, B) => Boolean): (Map[A, B], Map[A, B])
Inherited from
IterableOps
override def splitAt(n: Int): (Map[A, B], Map[A, B])
Definition Classes
IterableOps -> IterableOnceOps
Inherited from
IterableOps
def stepper[S <: Stepper[_]](shape: StepperShape[(A, B), S]): S
Inherited from
IterableOnce
def sum[B >: (A, B)](num: Numeric[B]): B
Inherited from
IterableOnceOps
def tail: Map[A, B]
Inherited from
IterableOps
def tails: Iterator[Map[A, B]]
Inherited from
IterableOps
def take(n: Int): Map[A, B]
Inherited from
IterableOps
def takeRight(n: Int): Map[A, B]
Inherited from
IterableOps
def takeWhile(p: (A, B) => Boolean): Map[A, B]
Inherited from
IterableOps
override def tapEach[U](f: (A, B) => U): Map[A, B]
Definition Classes
IterableOps -> IterableOnceOps
Inherited from
IterableOps
def to[C1](factory: Factory[(A, B), C1]): C1
Inherited from
IterableOnceOps
def toArray[B >: (A, B)](ClassTag[B]): Array[B]
Inherited from
IterableOnceOps
@inline
final def toBuffer[B >: (A, B)]: Buffer[B]
Inherited from
IterableOnceOps
def toIndexedSeq: IndexedSeq[(A, B)]
Inherited from
IterableOnceOps
final def toIterable: LazyMap[A, B]
Inherited from
Iterable
def toList: List[(A, B)]
Inherited from
IterableOnceOps
final override def toMap[K2, V2](ev: (A, B) <:< (K2, V2)): Map[K2, V2]
Definition Classes
Map -> IterableOnceOps
Inherited from
Map
def toSeq: Seq[(A, B)]
Inherited from
IterableOnceOps
def toSet[B >: (A, B)]: Set[B]
Inherited from
IterableOnceOps
override def toString(): String
Definition Classes
Map -> Function1 -> Iterable -> Any
Inherited from
Map
def toVector: Vector[(A, B)]
Inherited from
IterableOnceOps
def transform[W](f: (A, B) => W): Map[A, W]
Inherited from
MapOps
def transpose[B](asIterable: (A, B) => Iterable[B]): Iterable[Iterable[B]]
Inherited from
IterableOps
def unapply(a: A): Option[B]
Inherited from
PartialFunction
def unzip[A1, A2](asPair: (A, B) => (A1, A2)): (Iterable[A1], Iterable[A2])
Inherited from
IterableOps
def unzip3[A1, A2, A3](asTriple: (A, B) => (A1, A2, A3)): (Iterable[A1], Iterable[A2], Iterable[A3])
Inherited from
IterableOps
def updatedWith[V1 >: B](key: A)(remappingFunction: Option[B] => Option[V1]): Map[A, V1]
Inherited from
MapOps
def valueStepper[S <: Stepper[_]](shape: StepperShape[B, S]): S
Inherited from
MapOps
def values: Iterable[B]
Inherited from
MapOps
def valuesIterator: Iterator[B]
Inherited from
MapOps
override def view: MapView[A, B]
Definition Classes
MapOps -> IterableOps
Inherited from
MapOps
def withDefault[V1 >: B](d: A => V1): Map[A, V1]
Inherited from
Map
def withDefaultValue[V1 >: B](d: V1): Map[A, V1]
Inherited from
Map
override def withFilter(p: (A, B) => Boolean): WithFilter[A, B, [A] =>> Iterable[A], [K, V] =>> Map[K, V]]
Definition Classes
MapFactoryDefaults -> IterableOps
Inherited from
MapFactoryDefaults
def zip[B](that: IterableOnce[B]): Iterable[((A, B), B)]
Inherited from
IterableOps
def zipAll[A1 >: (A, B), B](that: Iterable[B], thisElem: A1, thatElem: B): Iterable[(A1, B)]
Inherited from
IterableOps
def zipWithIndex: Iterable[((A, B), Int)]
Inherited from
IterableOps

Deprecated and Inherited methods

@deprecated("Use ++ with an explicit collection argument instead of + with varargs", "2.13.0")
def +[V1 >: B](elem1: (A, V1), elem2: (A, V1), elems: (A, V1)*): Map[A, V1]
Deprecated
Inherited from
MapOps
@deprecated("Use ++ instead of ++: for collections of type Iterable", "2.13.0")
def ++:[B >: (A, B)](that: IterableOnce[B]): Iterable[B]
Deprecated
Inherited from
IterableOps
@deprecated("Use ++ instead of ++: for collections of type Iterable", "2.13.0")
def ++:[V1 >: B](that: IterableOnce[(A, V1)]): Map[A, V1]
Deprecated
Inherited from
MapOps
@deprecated("Use -- with an explicit collection", "2.13.0")
def -(key1: A, key2: A, keys: A*): Map[A, B]
Deprecated
Inherited from
MapOps
@inline @deprecated("Use foldLeft instead of /:", "2.13.0")
final def /:[B](z: B)(op: (B, (A, B)) => B): B
Deprecated
Inherited from
IterableOnceOps
@inline @deprecated("Use foldRight instead of :\\", "2.13.0")
final def :\[B](z: B)(op: ((A, B), B) => B): B
Deprecated
Inherited from
IterableOnceOps
@deprecated("`aggregate` is not relevant for sequential collections. Use `foldLeft(z)(seqop)` instead.", "2.13.0")
def aggregate[B](z: => B)(seqop: (B, (A, B)) => B, combop: (B, B) => B): B
Deprecated
Inherited from
IterableOnceOps
@inline @deprecatedOverriding("Use iterableFactory instead", "2.13.0") @deprecated("Use iterableFactory instead", "2.13.0")
def companion: IterableFactory[[A] =>> Iterable[A]]
Deprecated
Inherited from
IterableOps
@inline @deprecated("Use `dest ++= coll` instead", "2.13.0")
final def copyToBuffer[B >: (A, B)](dest: Buffer[B]): Unit
Deprecated
Inherited from
IterableOnceOps
@deprecated("Use .view.filterKeys(f). A future version will include a strict version of this method (for now, .view.filterKeys(p).toMap).", "2.13.0")
def filterKeys(p: A => Boolean): MapView[A, B]
Deprecated
Inherited from
MapOps
@deprecated("Check .knownSize instead of .hasDefiniteSize for more actionable information (see scaladoc for details)", "2.13.0")
def hasDefiniteSize: Boolean
Deprecated
Inherited from
IterableOnceOps
@deprecated("Use .view.mapValues(f). A future version will include a strict version of this method (for now, .view.mapValues(f).toMap).", "2.13.0")
def mapValues[W](f: B => W): MapView[A, W]
Deprecated
Inherited from
MapOps
@deprecated("Use coll instead of repr in a collection implementation, use the collection value itself from the outside", "2.13.0")
final def repr: Map[A, B]
Deprecated
Inherited from
IterableOps
@deprecated("Iterable.seq always returns the iterable itself", "2.13.0")
def seq: LazyMap[A, B]
Deprecated
Inherited from
Iterable
@inline @deprecated("Use .iterator instead of .toIterator", "2.13.0")
final def toIterator: Iterator[(A, B)]
Deprecated
Inherited from
IterableOnceOps
@inline @deprecated("Use .to(LazyList) instead of .toStream", "2.13.0")
final def toStream: Stream[(A, B)]
Deprecated
Inherited from
IterableOnceOps
@deprecated("Use toIterable instead", "2.13.0")
final def toTraversable: Iterable[(A, B)]
Deprecated
Inherited from
IterableOps
@deprecated("Use .view.slice(from, until) instead of .view(from, until)", "2.13.0")
def view(from: Int, until: Int): View[(A, B)]
Deprecated
Inherited from
IterableOps