strawman.collections.CollectionStrawMan4

Cons

Related Doc: package CollectionStrawMan4

case class Cons[+A](x: A, next: List[A]) extends List[A] with Product with Serializable

Linear Supertypes
Serializable, Serializable, Product, Equals, List[A], Seq[A], Iterable[A], FromIterable[List], IterableOnce[A], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Cons
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. List
  7. Seq
  8. Iterable
  9. FromIterable
  10. IterableOnce
  11. AnyRef
  12. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Cons(x: A, next: List[A])

Value Members

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

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

    Definition Classes
    AnyRef → Any
  3. def ++:[B >: A](prefix: List[B]): List[B]

    Definition Classes
    List
  4. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  5. def apply(i: Int): A

    Definition Classes
    ListSeq
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  9. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. def fromIterable[B](c: Iterable[B]): List[B]

    Definition Classes
    ListFromIterable
  11. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  12. def head: A

    Definition Classes
    ConsList
  13. def isEmpty: Boolean

    Definition Classes
    ConsList
  14. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  15. def iterator: Iterator[A]

    Definition Classes
    ListIterableOnce
  16. def knownLength: Int

    Definition Classes
    Iterable
  17. def length: Int

    Definition Classes
    ListSeq
  18. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  19. final def notify(): Unit

    Definition Classes
    AnyRef
  20. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  21. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  22. def tail: List[A]

    Definition Classes
    ConsList
  23. def view: View[A]

    Definition Classes
    Iterable
  24. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. val x: A

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from List[A]

Inherited from Seq[A]

Inherited from Iterable[A]

Inherited from FromIterable[List]

Inherited from IterableOnce[A]

Inherited from AnyRef

Inherited from Any

Ungrouped