implicit final class ZNonEmptySetNonEmptyMultiSetOps[+A] extends AnyRef
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ZNonEmptySetNonEmptyMultiSetOps
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new ZNonEmptySetNonEmptyMultiSetOps(self: NonEmptyMultiSet[A])
Value Members
- def head: A
Returns an element
- def peel: (A, MultiSet[A])
Returns an element of this
NonEmptyMultiSet
and the remainder, which is a (possibly empty)MultiSet
. - def peelNonEmpty: (A, Option[NonEmptyMultiSet[A]])
Returns an element of this
NonEmptyMultiSet
and the remainder orNone
, if the remainder is empty. - def tail: MultiSet[A]
Returns the tail of this
NonEmptyMultiSet
as a (possibly empty)MultiSet
. - def tailNonEmpty: Option[NonEmptyMultiSet[A]]
Returns the tail of this
NonEmptyMultiSet
if it exists orNone
otherwise.