basis.sequential

NonStrictSetOps

final class NonStrictSetOps[+A] extends AnyVal

Non-strictly evaluated set operations.

Linear Supertypes
AnyVal, NotNull, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. NonStrictSetOps
  2. AnyVal
  3. NotNull
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new NonStrictSetOps(these: Set[A])

Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  2. final def ##(): Int

    Definition Classes
    Any
  3. def ++[B >: A](those: Set[B]): Set[B]

    Returns a view concatenating this and another set.

    Returns a view concatenating this and another set.

    those

    the elements to append to these elements.

    returns

    a non-strict view of the concatenated elements.

  4. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  5. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  6. def drop(lower: Int): Set[A]

    Returns a view of all elements in this set following a prefix up to some length.

    Returns a view of all elements in this set following a prefix up to some length.

    lower

    the length of the prefix to drop; also the inclusive lower bound for indexes of included elements.

    returns

    a non-strict view of all but the first lower elements.

  7. def dropWhile(p: (A) ⇒ Boolean): Set[A]

    Returns a view of all elements following the longest prefix of this set for which each element satisfies a predicate.

    Returns a view of all elements following the longest prefix of this set for which each element satisfies a predicate.

    p

    the predicate to test elements against.

    returns

    a non-strict view of the suffix of accumulated elements beginning with the first element to not satisfy p.

  8. def filter(p: (A) ⇒ Boolean): Set[A]

    Returns a view of all elements in this set that satisfy a predicate.

    Returns a view of all elements in this set that satisfy a predicate.

    p

    the predicate to lazily test elements against.

    returns

    a non-strict view of the filtered elements.

  9. def getClass(): Class[_ <: AnyVal]

    Definition Classes
    AnyVal → Any
  10. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  11. def slice(lower: Int, upper: Int): Set[A]

    Returns a view of an interval of elements in this set.

    Returns a view of an interval of elements in this set.

    lower

    the inclusive lower bound for indexes of included elements.

    upper

    the exclusive upper bound for indexes of included elements.

    returns

    a non-strict view of the elements with indexes greater than or equal to lower and less than upper.

  12. def span(p: (A) ⇒ Boolean): (Set[A], Set[A])

    Returns a (prefix, suffix) pair of views with the prefix being the longest one for which each element satisfies a predicate, and the suffix beginning with the first element to not satisfy the predicate.

    Returns a (prefix, suffix) pair of views with the prefix being the longest one for which each element satisfies a predicate, and the suffix beginning with the first element to not satisfy the predicate.

    p

    the predicate to test elements against.

    returns

    the (predix, suffix) pair of non-strict views.

  13. def take(upper: Int): Set[A]

    Returns a view of a prefix of this set up to some length.

    Returns a view of a prefix of this set up to some length.

    upper

    the length of the prefix to take; also the exclusive upper bound for indexes of included elements.

    returns

    a non-strict view of up to the first upper elements.

  14. def takeWhile(p: (A) ⇒ Boolean): Set[A]

    Returns a view of the longest prefix of this set for which each element satisfies a predicate.

    Returns a view of the longest prefix of this set for which each element satisfies a predicate.

    p

    the predicate to test elements against.

    returns

    a non-strict view of the longest prefix of elements preceding the first element to not satisfy p.

  15. val these: Set[A]

  16. def toString(): String

    Definition Classes
    Any
  17. def withFilter(p: (A) ⇒ Boolean): Set[A]

    Returns a view of all elements in this set that satisfy a predicate.

    Returns a view of all elements in this set that satisfy a predicate.

    p

    the predicate to lazily test elements against.

    returns

    a non-strict view of the filtered elements.

Inherited from AnyVal

Inherited from NotNull

Inherited from Any

Filtering

Combining

Ungrouped