final class CollectionOps[C[X] <: BTraversable[X], A] extends AnyVal
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- CollectionOps
- AnyVal
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new CollectionOps(coll: C[A])
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
##(): Int
- Definition Classes
- Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- def collectFirstOpt[B](pf: PartialFunction[A, B]): Opt[B]
- def findOpt(p: (A) ⇒ Boolean): Opt[A]
-
def
getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
- def groupToMap[K, V, To](keyFun: (A) ⇒ K, valueFun: (A) ⇒ V)(implicit cbf: CanBuildFrom[C[A], V, To]): Map[K, To]
- def headOpt: Opt[A]
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def lastOpt: Opt[A]
- def maxOpt[B >: A](implicit cmp: Ordering[B]): Opt[B]
- def maxOptBy[B](f: (A) ⇒ B)(implicit cmp: Ordering[B]): Opt[A]
- def minOpt[B >: A](implicit cmp: Ordering[B]): Opt[B]
- def minOptBy[B](f: (A) ⇒ B)(implicit cmp: Ordering[B]): Opt[A]
- def reduceLeftOpt[B >: A](op: (B, A) ⇒ B): Opt[B]
- def reduceOpt[A1 >: A](op: (A1, A1) ⇒ A1): Opt[A1]
- def reduceRightOpt[B >: A](op: (A, B) ⇒ B): Opt[B]
- def toMap[K, V](keyFun: (A) ⇒ K, valueFun: (A) ⇒ V): Map[K, V]
-
def
toString(): String
- Definition Classes
- Any