Packages

object NonEmptySet

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

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. implicit val NonEmptySetCommutativeEither: CommutativeEither[NonEmptySet]

    The CommutativeEither instance for NonEmptySet.

  5. implicit def NonEmptySetCommutativeIdempotent[A]: Commutative[NonEmptySet[A]] with Idempotent[NonEmptySet[A]]

    The Commutative and Idempotent (and thus Associative) instance for NonEmptySet.

  6. implicit def NonEmptySetDebug[A](implicit arg0: Debug[A]): Debug[NonEmptySet[A]]

    Derives a Debug[NonEmptySet[A]] given a Debug[A].

  7. implicit val NonEmptySetDeriveEqual: DeriveEqual[NonEmptySet]

    The DeriveEqual instance for NonEmptySet.

  8. implicit def NonEmptySetHashPartialOrd[A]: Hash[NonEmptySet[A]] with PartialOrd[NonEmptySet[A]]

    Derives a Hash[NonEmptySet[A]] and PartialOrd[NonEmptySet[A]] (and thus Equal[NonEmptyList[A]]) instance.

  9. implicit val NonEmptySetInvariant: Invariant[NonEmptySet]

    The Invariant instance for NonEmptySet.

  10. def apply[A](elem: A, others: A*): NonEmptySet[A]

    Creates a NonEmptySet with the specified elements.

    Creates a NonEmptySet with the specified elements.

    A

    the type of the NonEmptySet's elements

    elem

    an element of the created NonEmptySet

    others

    the remaining elements of the created NonEmptySet

    returns

    a new NonEmptySet with elements elem and others

  11. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  12. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  13. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  15. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  16. def fromIterable[A](head: A, tail: Iterable[A]): NonEmptySet[A]

    Constructs a NonEmptySet from an element and Iterable.

  17. def fromIterableOption[A](iterable: Iterable[A]): Option[NonEmptySet[A]]

    Constructs a NonEmptySet from an Iterable or None otherwise.

  18. def fromNonEmptyChunk[A](elems: NonEmptyChunk[A]): NonEmptySet[A]

    Constructs a NonEmptyChunk from a NonEmptyList.

  19. def fromNonEmptyList[A](elems: NonEmptyList[A]): NonEmptySet[A]

    Constructs a NonEmptySet from a NonEmptyList.

  20. def fromSet[A](elem: A, others: Set[A]): NonEmptySet[A]

    Constructs a NonEmptySet from an element and Set.

  21. def fromSetOption[A](set: Set[A]): Option[NonEmptySet[A]]

    Constructs a NonEmptySet from a Set or None otherwise.

  22. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  23. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  24. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  25. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  26. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  27. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  28. def single[A](head: A): NonEmptySet[A]

    Constructs a NonEmptySet with the specified single value.

  29. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  30. implicit def toSet[A](nonEmptySet: NonEmptySet[A]): Set[A]

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

  31. def toString(): String
    Definition Classes
    AnyRef → Any
  32. def unapply[A](arg: NonEmptySet[A]): Some[(A, Set[A])]
  33. def union[A](l: Set[A], r: NonEmptySet[A]): NonEmptySet[A]

    Creates a NonEmptySet containing elements from l and r

  34. def union[A](l: NonEmptySet[A], r: Set[A]): NonEmptySet[A]

    Creates a NonEmptySet containing elements from l and r

  35. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  36. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  37. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped