scala.collection.generic

ImmutableMapFactory

class ImmutableMapFactory[CC] extends MapFactory[CC[A, B][A, B]]

A template for companion objects of immutable.Map and subclasses thereof.

attributes: abstract
known subclasses: ListMap, HashMap, Map
source: ImmutableMapFactory.scala
    version
  1. 2 . 8

    since
  1. 2 . 8

    authors:
  1. Martin Odersky

Inherited
  1. Hide All
  2. Show all
  1. MapFactory
  2. AnyRef
  3. Any
Visibility
  1. Public
  2. All

Instance constructors

  1. new ImmutableMapFactory()

Type Members

  1. type Coll = CC[_, _]

    The type constructor of the collection that can be built by this factory

  2. class MapCanBuildFrom[A, B] extends CanBuildFrom[CC[_, _], (A, B), CC[A, B]]

    The standard CanBuildFrom class for maps.

Value Members

  1. def !=(arg0: AnyRef): Boolean

  2. def !=(arg0: Any): Boolean

    o != arg0 is the same as !(o == (arg0)).

  3. def ##(): Int

  4. def $asInstanceOf[T0](): T0

  5. def $isInstanceOf[T0](): Boolean

  6. def ==(arg0: AnyRef): Boolean

    o == arg0 is the same as if (o eq null) arg0 eq null else o.equals(arg0).

  7. def ==(arg0: Any): Boolean

    o == arg0 is the same as o.equals(arg0).

  8. def apply[A, B](elems: (A, B)*): CC[A, B]

    A collection of type Map that contains given key/value bindings .

  9. def asInstanceOf[T0]: T0

    This method is used to cast the receiver object to be of type T0.

  10. def clone(): AnyRef

    This method creates and returns a copy of the receiver object .

  11. def empty[A, B]: CC[A, B]

    An empty Map

  12. def eq(arg0: AnyRef): Boolean

    This method is used to test whether the argument (arg0) is a reference to the receiver object (this).

  13. def equals(arg0: Any): Boolean

    This method is used to compare the receiver object (this) with the argument object (arg0) for equivalence.

  14. def finalize(): Unit

    This method is called by the garbage collector on the receiver object when garbage collection determines that there are no more references to the object .

  15. def getClass(): java.lang.Class[_ <: java.lang.Object]

    Returns a representation that corresponds to the dynamic class of the receiver object .

  16. def hashCode(): Int

    Returns a hash code value for the object .

  17. def isInstanceOf[T0]: Boolean

    This method is used to test whether the dynamic type of the receiver object is T0.

  18. def ne(arg0: AnyRef): Boolean

    o.ne(arg0) is the same as !(o.eq(arg0)).

  19. def newBuilder[A, B]: Builder[(A, B), CC[A, B]]

    The default builder for Map objects .

  20. def notify(): Unit

    Wakes up a single thread that is waiting on the receiver object's monitor .

  21. def notifyAll(): Unit

    Wakes up all threads that are waiting on the receiver object's monitor .

  22. def synchronized[T0](arg0: T0): T0

  23. def toString(): String

    Returns a string representation of the object .

  24. def wait(): Unit

  25. def wait(arg0: Long, arg1: Int): Unit

  26. def wait(arg0: Long): Unit