com.mchange.sc.v2

collection

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
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

  1. package immutable

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

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

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

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped