t

Lookup.M

trait _Trait[A, B] extends Lookup[A, B]

Ordering
  1. Alphabetic
Inherited
  1. M
  2. Lookup
  3. Any.Collection
  4. scala.AnyRef
  5. scala.Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Method

  1. def all: ~[B]

    Returns a Stream of all elements

    Returns a Stream of all elements

    Unless specifically defined, the order must be assumed as random.

    val coll = Any.Collection.make(1,3,5,7)
    coll.all.lp
    
    // Output
    ~(1, 3, 5, 7)
    Definition Classes
    _Trait_Trait
  2. abstract def allPairs: ~[(A, B)]

    All key/value pairs

    All key/value pairs

    Returns a Stream of all key/value pairs for this Lookup

    Definition Classes
    _Trait
  3. def apply(key: A, b: ⇒ B): B
    Definition Classes
    _Trait
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. abstract def clear: Boolean
    Definition Classes
    _Trait
  6. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. abstract def getOpt(key: A): Opt[B]

    Element by key

    Element by key

    Optionally returns element associated with the given key

    Definition Classes
    _Trait
  11. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. final def notify(): Unit
    Definition Classes
    AnyRef
  15. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  16. abstract def put(key: A, value: B): Unit
    Definition Classes
    _Trait
  17. def putAll(s: ~[(A, B)]): Unit
    Definition Classes
    _Trait
  18. abstract def remove(key: A): Boolean
    Definition Classes
    _Trait
  19. abstract def size: Int

    Number of elements

    Number of elements

    Readily available, not calculated element count

    Idx.*(1,3,5,7).size.lp  // Prints: 4
    Definition Classes
    _Trait
  20. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  21. def toString(): String
    Definition Classes
    AnyRef → Any
  22. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Operator

  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
Linear Supertypes
Lookup[A, B], Any.Collection[B], AnyRef, Any
Source: _Trait.scala