SetOps

mouse.SetOps
final class SetOps[A](sa: Set[A]) extends AnyVal

Attributes

Source:
set.scala
Graph
Supertypes
class AnyVal
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

def tailOption(implicit ordering: Ordering[A]): Option[Type[A]]

Returns Some if the tail is non-empty, otherwise None.

Returns Some if the tail is non-empty, otherwise None.

Attributes

Source:
set.scala

A safe counterpart to Set.tail that returns empty Set[A] for an empty set.

A safe counterpart to Set.tail that returns empty Set[A] for an empty set.

Attributes

Source:
set.scala