Object/Class

zio.prelude

NonEmptyMap

Related Docs: class NonEmptyMap | package prelude

Permalink

object NonEmptyMap

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

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 apply[K, V](elem: (K, V), others: (K, V)*): NonEmptyMap[K, V]

    Permalink

    Creates a NonEmptyMap with the specified elements.

    Creates a NonEmptyMap with the specified elements.

    elem

    an element of the created NonEmptyMap

    others

    the remaining elements of the created NonEmptyMap

    returns

    a new NonEmptyMap with elements elem and others

  5. def apply[K, V](elem: (K, V), others: Iterable[(K, V)]): NonEmptyMap[K, V]

    Permalink
  6. final def asInstanceOf[T0]: T0

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

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

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. def fromIterable[K, V](head: (K, V), tail: Iterable[(K, V)]): NonEmptyMap[K, V]

    Permalink

    Constructs a NonEmptyMap from an element and Iterable.

  12. def fromIterableOption[K, V](iterable: Iterable[(K, V)]): Option[NonEmptyMap[K, V]]

    Permalink

    Constructs a NonEmptyMap from an Iterable or None otherwise.

  13. def fromMap[K, V](elem: (K, V), others: Map[K, V]): NonEmptyMap[K, V]

    Permalink

    Constructs a NonEmptyMap from an element and Map.

  14. def fromMapOption[K, V](map: Map[K, V]): Option[NonEmptyMap[K, V]]

    Permalink

    Constructs a NonEmptyMap from a Map or None otherwise.

  15. def fromNonEmptyChunk[K, V](elems: NonEmptyChunk[(K, V)]): NonEmptyMap[K, V]

    Permalink

    Constructs a NonEmptyMap from a NonEmptyChunk.

  16. def fromNonEmptyList[K, V](elems: NonEmptyList[(K, V)]): NonEmptyMap[K, V]

    Permalink

    Constructs a NonEmptyMap from a NonEmptyList.

  17. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  18. def groupByFromNonEmptyChunk[A, K](from: NonEmptyChunk[A])(f: (A) ⇒ K): NonEmptyMap[K, NonEmptyChunk[A]]

    Permalink

    from a non-empty chunk we can create a non-empty map of non-empty chunks

  19. def groupByFromNonEmptyList[A, K](from: NonEmptyList[A])(f: (A) ⇒ K): NonEmptyMap[K, NonEmptyList[A]]

    Permalink

    from a non-empty list we can create a non-empty map of non-empty list

  20. def groupByFromNonEmptySet[A, K](from: NonEmptySet[A])(f: (A) ⇒ K): NonEmptyMap[K, NonEmptySet[A]]

    Permalink

    from a non-empty set we can create a non-empty map of non-empty sets

  21. def groupByOption[A, K](from: Iterable[A])(f: (A) ⇒ K): Option[NonEmptyMap[K, Iterable[A]]]

    Permalink

    GroupByOption function returns an option of a nonEmpty map instead of a map because by definition the elements will be non-empty - returns None if from is

  22. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  23. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  24. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  27. def single[K, V](head: (K, V)): NonEmptyMap[K, V]

    Permalink

    Constructs a NonEmptyMap with the specified single value.

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

    Permalink
    Definition Classes
    AnyRef
  29. implicit def toMap[K, V](nonEmptyMap: NonEmptyMap[K, V]): Map[K, V]

    Permalink

    Provides an implicit conversion from NonEmptyMap to the Map for interoperability with Scala's collection library.

  30. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  31. def unapply[K, V](arg: NonEmptyMap[K, V]): Some[((K, V), Map[K, V])]

    Permalink
  32. final def wait(): Unit

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped