MapUtils

aptus.aptutils.MapUtils
object MapUtils

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
MapUtils.type

Members list

Value members

Concrete methods

def groupByAdjacency[A, B](coll: Seq[A])(f: A => B): Seq[(B, Seq[A])]
def groupByKey[K, V](entries: Iterator[(K, V)]): Map[K, Seq[V]]
def groupByKeyWithListMap[K, V](entries: Iterator[(K, V)]): ListMap[K, Seq[V]]
def groupByKeyWithTreeMap[K, V](entries: Iterator[(K, V)])(implicit ord: Ordering[K]): TreeMap[K, Seq[V]]
def groupByWithListMap[T, K, V](f: T => K, g: T => V)(values: Iterator[T]): ListMap[K, Seq[V]]
def toHashMap[A, T, U](coll: Seq[A])(implicit ev: A <:< (T, U)): HashMap[T, U]
def toHashMap[K, V](coll: Map[K, V]): HashMap[K, V]
def toListMap[A, T, U](coll: Seq[A])(implicit ev: A <:< (T, U)): ListMap[T, U]
def toListMap[K, V](coll: Map[K, V]): ListMap[K, V]
def toMutableMap[A, T, U](coll: Seq[A])(implicit ev: A <:< (T, U)): HashMap[T, U]
def toMutableMap[K, V](coll: Map[K, V]): HashMap[K, V]
def toTreeMap[A, T, U](coll: Seq[A])(implicit ev: A <:< (T, U), ord: Ordering[T]): TreeMap[T, U]
def toTreeMap[K, V](coll: Map[K, V])(implicit ord: Ordering[K]): TreeMap[K, V]