implicit final class RichList[T] extends AnyVal
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- RichList
- AnyVal
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new RichList(list: List[T])
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
distinctBy[U](key: (T) ⇒ U): List[T]
Like
distinctbut by a property on the elements.Like
distinctbut by a property on the elements. Keeps the first of any duplicates. -
def
getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
-
def
initLast: (List[T], T)
- returns
everything up to the last element, and the last element.
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val list: List[T]
-
def
toString(): String
- Definition Classes
- Any