Class/Object

es.weso.collection

BagSortedMap

Related Docs: object BagSortedMap | package collection

Permalink

case class BagSortedMap[A](smap: SortedMap[A, Int])(implicit evidence$1: Ordering[A]) extends Bag[A] with Product with Serializable

Linear Supertypes
Serializable, Serializable, Product, Equals, Bag[A], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BagSortedMap
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. Bag
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new BagSortedMap(smap: SortedMap[A, Int])(implicit arg0: Ordering[A])

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def add(elem: A, n: Int): BagSortedMap[A]

    Permalink

    A more efficient version of add

    A more efficient version of add

    Definition Classes
    BagSortedMapBag
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def asSortedMap: SortedMap[A, Int]

    Permalink
    Definition Classes
    BagSortedMapBag
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def contains(elem: A): Boolean

    Permalink

    Check if a bag contains an element

    Check if a bag contains an element

    Definition Classes
    BagSortedMapBag
  9. def delete(elem: A): BagSortedMap[A]

    Permalink

    Deletes an element and returns the new bag It doesn't complain if the element doesn't exist

    Deletes an element and returns the new bag It doesn't complain if the element doesn't exist

    Definition Classes
    BagSortedMapBag
  10. def elems: Iterator[(A, Int)]

    Permalink

    Elements of a Bag with their multiplicity

    Elements of a Bag with their multiplicity

    Definition Classes
    BagSortedMapBag
  11. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  12. def equals(other: Any): Boolean

    Permalink
    Definition Classes
    Bag → AnyRef → Any
  13. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. def from(t: Traversable[A]): Bag[A]

    Permalink
    Definition Classes
    Bag
  15. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  16. def insert(elem: A): BagSortedMap[A]

    Permalink

    Inserts an element in a bag and returns the new bag

    Inserts an element in a bag and returns the new bag

    Definition Classes
    BagSortedMapBag
  17. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  18. def multiplicity(elem: A): Int

    Permalink

    Multiplicity of an element in a bag

    Multiplicity of an element in a bag

    Definition Classes
    BagSortedMapBag
  19. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  20. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  21. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  22. def size: Int

    Permalink

    Size returns the total number of elements.

    Size returns the total number of elements. Notice that if an element appears 4 times, it adds 4 to the counter

    Definition Classes
    Bag
  23. val smap: SortedMap[A, Int]

    Permalink
  24. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  25. def toSeq: Seq[A]

    Permalink
    Definition Classes
    Bag
  26. def toString(): String

    Permalink
    Definition Classes
    BagSortedMap → AnyRef → Any
  27. def union(other: Bag[A]): Bag[A]

    Permalink

    Union of two bags

    Union of two bags

    Definition Classes
    Bag
  28. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Bag[A]

Inherited from AnyRef

Inherited from Any

Ungrouped