Package

com.mchange.sc.v2

collection

Permalink

package collection

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. collection
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. package immutable

    Permalink
  2. def toMapIfNoDupKeys[K, V](iterable: Iterable[(K, V)]): YinYang[K, Map[K, V]]

    Permalink

    Returns as Yang the successfully constructed Map if there were no duplicate keys, as Yin the first duplicate key encounted if there were duplicate keys

  3. def toSetIfNoDups[T](iterable: Iterable[T]): YinYang[T, Set[T]]

    Permalink

    Returns as Yang the successfully constructed set if there were no duplicates, as Yin the first duplicate value encountered if there were duplicates

  4. def toSortedMapIfNoDupKeys[K, V](iterable: Iterable[(K, V)])(implicit ordering: Ordering[K]): YinYang[K, SortedMap[K, V]]

    Permalink

    Returns as Yang the successfully constructed SortedMap if there were no duplicate keys, as Yin the first duplicate key encounted if there were duplicate keys

Inherited from AnyRef

Inherited from Any

Ungrouped