Packages

implicit class SuperList[T] extends AnyRef

Add utility methods to Lists

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

Instance Constructors

  1. new SuperList(what: List[T])

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def ?: Boolean

    return true if not empty

  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def comma: String

    return all elements separated by a comma

  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  13. def headOr(other: ⇒ T): T

    return the first element of a list or a default element of the same type

  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. def join(str: String): String

    alias for mkString

  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def notify(): Unit
    Definition Classes
    AnyRef
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  19. def or(other: ⇒ List[T]): List[T]

    return the list if not empty or another list

  20. def permute: List[List[T]]

    permute the elements of a list

  21. def permuteAll: List[List[T]]

    return all the permuations of a list, including its sublists

  22. def replace(pos: Int, withWhat: T): List[T]

    return a new list where the element at position pos is replaced with another element

  23. def rotate: List[List[T]]

    return all the permuations of a list

  24. def str: String

    return a string with all elements toString values appended

  25. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  26. def toString(): String
    Definition Classes
    AnyRef → Any
  27. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped