Class

io.chymyst.jc

MutableMapBag

Related Doc: package jc

Permalink

final class MutableMapBag[T] extends MutableBag[T]

Implementation using guava's com.google.common.collect.ConcurrentHashMultiset.

This is suitable for types that have a small number of possible values (i.e. Core.simpleTypes), or for molecules constrained by cross-molecule dependencies where selection by value is important.

Linear Supertypes
MutableBag[T], MutCollection[T], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MutableMapBag
  2. MutableBag
  3. MutCollection
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new MutableMapBag()

    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(v: T): Unit

    Permalink
    Definition Classes
    MutableMapBagMutCollection
  5. def allValues: Iterator[T]

    Permalink

    List all values, perhaps with repetitions.

    List all values, perhaps with repetitions. It is not guaranteed that the values will be repeated the correct number of times.

    returns

    An iterator of values.

    Definition Classes
    MutableMapBagMutableBag
  6. def allValuesSkipping(skipping: MutableMultiset[T]): Iterator[T]

    Permalink

    List all values, with repetitions, excluding values from a given sequence (which can also contain repeated values).

    List all values, with repetitions, excluding values from a given sequence (which can also contain repeated values). It is guaranteed that the values will be repeated the correct number of times.

    skipping

    A sequence of values that should be skipped while running the iterator.

    returns

    An iterator of values.

    Definition Classes
    MutableMapBagMutableBag
  7. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. def find(predicate: (T) ⇒ Boolean): Option[T]

    Permalink
    Definition Classes
    MutableMapBagMutableBag
  13. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  14. def getCountMap: Map[T, Int]

    Permalink
    Definition Classes
    MutableMapBagMutableBag
  15. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  16. def headOption: Option[T]

    Permalink
    Definition Classes
    MutableBagMutCollection
  17. def isEmpty: Boolean

    Permalink
    Definition Classes
    MutableMapBagMutableBag
  18. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  19. def iteratorAsJava: Iterator[T]

    Permalink
    Attributes
    protected
    Definition Classes
    MutableMapBagMutableBag
  20. def iteratorAsScala: Iterator[T]

    Permalink
    Attributes
    protected
    Definition Classes
    MutableMapBagMutableBag
  21. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  24. def remove(v: T): Boolean

    Permalink
    Definition Classes
    MutableMapBagMutCollection
  25. def size: Int

    Permalink
    Definition Classes
    MutableMapBagMutCollection
  26. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  27. def takeAny(count: Int): Seq[T]

    Permalink
    Definition Classes
    MutableBagMutCollection
  28. def takeOne: Seq[T]

    Permalink
    Definition Classes
    MutableBagMutCollection
  29. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  30. final def wait(): Unit

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

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

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

Inherited from MutableBag[T]

Inherited from MutCollection[T]

Inherited from AnyRef

Inherited from Any

Ungrouped