final case class IntListNode(head: Int, rest: IntList = EmptyIntList) extends IntList with Product with Serializable
- Alphabetic
- By Inheritance
- IntListNode
- Product
- Equals
- IntList
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new IntListNode(head: Int, rest: IntList = EmptyIntList)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- def +:(v: Int): IntList
Prepends the given value to this list.
Prepends the given value to this list. E.g.,
l = 2l +: l
.- Definition Classes
- IntListNode → IntList
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(that: IntList): Boolean
- Definition Classes
- IntListNode → IntList
- final def equals(other: Any): Boolean
- Definition Classes
- IntList → AnyRef → Any
- def forFirstN[U](n: Int)(f: (Int) => U): Unit
Iterates over the first N values.
Iterates over the first N values.
- Definition Classes
- IntListNode → IntList
- def foreach[U](f: (Int) => U): Unit
- Definition Classes
- IntListNode → IntList
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- IntListNode → IntList → AnyRef → Any
- val head: Int
- Definition Classes
- IntListNode → IntList
- def isEmpty: Boolean
- Definition Classes
- IntListNode → IntList
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def iterator: IntIterator
- Definition Classes
- IntListNode → IntList
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def nonEmpty: Boolean
- Definition Classes
- IntListNode → IntList
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def tail: IntList
- Definition Classes
- IntListNode → IntList
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated