Object

morphir.sdk

Set

Related Doc: package sdk

Permalink

object Set

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

Type Members

  1. type Set[A] = scala.collection.immutable.Set[A]

    Permalink

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. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def diff[A](a: Set[A])(b: Set[A]): Set[A]

    Permalink

    Get the difference between the first set and the second.

    Get the difference between the first set and the second. Keeps values that do not appear in the second set.

    Annotations
    @inline()
  7. def empty[A]: Set[A]

    Permalink

    Create an empty set.

    Create an empty set.

    Annotations
    @inline()
  8. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  10. def filter[A](predicate: (A) ⇒ Bool)(set: Set[A]): Set[A]

    Permalink

    Only keep elements that pass the given test.

  11. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. def foldl[A, B](f: (A) ⇒ (B) ⇒ B)(initial: ⇒ B)(set: Set[A]): B

    Permalink

    Fold over the values in a set, in order from left to right.

  13. def foldr[A, B](f: (A) ⇒ (B) ⇒ B)(initial: ⇒ B)(set: Set[A]): B

    Permalink

    Fold over the values in a set, in order from right to left.

  14. def fromList[A](list: List[A]): Set[A]

    Permalink

    Convert a list into a set, removing any duplicates.

    Convert a list into a set, removing any duplicates.

    Annotations
    @inline()
  15. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  16. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  17. def insert[A](value: A)(set: Set[A]): Set[A]

    Permalink

    Insert a value into a set.

    Insert a value into a set.

    Annotations
    @inline()
  18. def intersect[A](a: Set[A])(b: Set[A]): Set[A]

    Permalink

    Get the intersection of two sets.

    Get the intersection of two sets. Keep all the values.

    Annotations
    @inline()
  19. def isEmpty[A](set: Set[A]): Bool

    Permalink

    Determine if a set is empty.

    Determine if a set is empty.

    Annotations
    @inline()
  20. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  21. def map[A, B](fn: (A) ⇒ B)(set: Set[A]): Set[B]

    Permalink

    Map a function onto a set, creating a new set with no duplicates.

    Map a function onto a set, creating a new set with no duplicates.

    Annotations
    @inline()
  22. def member[A](value: A)(set: Set[A]): Bool

    Permalink

    Determine if a value is in a set.

    Determine if a value is in a set.

    Annotations
    @inline()
  23. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  26. def partition[A](predicate: (A) ⇒ Bool)(set: Set[A]): (Set[A], Set[A])

    Permalink

    Create tow new sets.

    Create tow new sets. The first contains all the elements that passed the given test, and the second contains all the elements that did not.

  27. def remove[A](value: A)(set: Set[A]): Set[A]

    Permalink

    Remove a value from a set.

    Remove a value from a set. If the value is not found, no changes are made.

    Annotations
    @inline()
  28. def singleton[A](value: A): Set[A]

    Permalink

    Create a set with one value.

    Create a set with one value.

    Annotations
    @inline()
  29. def size[A](set: Set[A]): Int

    Permalink

    Determine the number of elements in a set.

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

    Permalink
    Definition Classes
    AnyRef
  31. def toList[A](set: Set[A])(implicit arg0: Ordering[A]): List[A]

    Permalink

    Convert a set into a list, sorted from lowest to highest.

  32. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  33. def union[A](a: Set[A])(b: Set[A]): Set[A]

    Permalink

    Get the union of two sets.

    Get the union of two sets. Keep all values.

    Annotations
    @inline()
  34. final def wait(): Unit

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped