object Naught extends Chain[Nothing] with Product with Serializable
An empty Chains.
- Alphabetic
- By Inheritance
- Naught
- Product
- Equals
- Chain
- Serializable
- Serializable
- FilterMonadic
- TraversableOnce
- GenTraversableOnce
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
class
ChainWithFilter extends FilterMonadic[T, Chain[T]]
Represents a filtered Chain.
Represents a filtered Chain. Instances of ChainWithFilter are typically created by Chain's
withFiltermethod.- Definition Classes
- Chain
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
++[X >: Nothing](other: Traversable[X]): Chain[X]
- Definition Classes
- Chain
-
def
++[X >: Nothing](that: Chain[X]): Chain[X]
- Definition Classes
- Chain
-
def
/:[B](z: B)(op: (B, Nothing) ⇒ B): B
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
:&:(x: Int)(implicit ev: <:<[Naught.this.type, Chain[Int]]): Chain[Int]
Prepends the given
intvalue to this Chain if this chain is a chain of int values.Prepends the given
intvalue to this Chain if this chain is a chain of int values.- Definition Classes
- Chain
-
def
:&:[X >: Nothing](x: X): Chain[X]
Prepends the given element to this Chain.
Prepends the given element to this Chain.
- Definition Classes
- Chain
-
def
:&::[X](x: Chain[X]): Chain[X]
Prepends the given
Chaintothischain. -
def
:\[B](z: B)(op: (Nothing, B) ⇒ B): B
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
addString(b: StringBuilder): StringBuilder
- Definition Classes
- TraversableOnce
-
def
addString(b: StringBuilder, sep: String): StringBuilder
- Definition Classes
- TraversableOnce
-
def
addString(b: StringBuilder, start: String, sep: String, end: String): StringBuilder
- Definition Classes
- TraversableOnce
-
def
aggregate[B](z: ⇒ B)(seqop: (B, Nothing) ⇒ B, combop: (B, B) ⇒ B): B
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
apply(index: Int): Nothing
Returns the value of the element of this list with the given index.
Returns the value of the element of this list with the given index.
- index
A valid index. A value in the range [0...this.size-1].
- Definition Classes
- Chain
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
collectFirst[B](pf: PartialFunction[Nothing, B]): Option[B]
- Definition Classes
- TraversableOnce
-
def
contains[X >: Nothing](e: X): Boolean
- Definition Classes
- Chain
-
def
copyToArray[B >: Nothing](xs: Array[B], start: Int, len: Int): Unit
- Definition Classes
- Chain → TraversableOnce → GenTraversableOnce
-
def
copyToArray[B >: Nothing](xs: Array[B]): Unit
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
copyToArray[B >: Nothing](xs: Array[B], start: Int): Unit
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
copyToBuffer[B >: Nothing](dest: Buffer[B]): Unit
- Definition Classes
- TraversableOnce
-
def
corresponds[X](other: Chain[X])(f: (Nothing, X) ⇒ Boolean): Boolean
- Definition Classes
- Chain
- See also
merge
-
def
count(p: (Nothing) ⇒ Boolean): Int
- Definition Classes
- TraversableOnce → GenTraversableOnce
- def drop(n: Int): Naught.type
-
def
dropWhile(f: (Nothing) ⇒ Boolean): Chain[Nothing]
- Definition Classes
- Chain
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
exists(f: (Nothing) ⇒ Boolean): Boolean
- Definition Classes
- Chain → TraversableOnce → GenTraversableOnce
- def filter(f: (Nothing) ⇒ Boolean): Chain[Nothing]
-
def
filterNot(f: (Nothing) ⇒ Boolean): Chain[Nothing]
- Definition Classes
- Chain
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
find(p: (Nothing) ⇒ Boolean): Option[Nothing]
- Definition Classes
- Chain → TraversableOnce → GenTraversableOnce
-
def
flatMap[B, That](f: (Nothing) ⇒ GenTraversableOnce[B])(implicit bf: CanBuildFrom[Chain[Nothing], B, That]): That
- Definition Classes
- Chain → FilterMonadic
-
def
fold[A1 >: Nothing](z: A1)(op: (A1, A1) ⇒ A1): A1
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
foldLeft[B](z: B)(op: (B, Nothing) ⇒ B): B
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
foldRight[B](z: B)(op: (Nothing, B) ⇒ B): B
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
forFirstN[U](n: Int)(f: (Nothing) ⇒ U): Unit
- Definition Classes
- Chain
-
def
forall(f: (Nothing) ⇒ Boolean): Boolean
- Definition Classes
- Chain → TraversableOnce → GenTraversableOnce
-
def
foreach[U](f: (Nothing) ⇒ U): Unit
- Definition Classes
- Chain → FilterMonadic → TraversableOnce → GenTraversableOnce
-
def
foreachWhile(f: (Nothing) ⇒ Boolean): Boolean
Executes the given function
ffor each element of this chain as long as it returnstrue.Executes the given function
ffor each element of this chain as long as it returnstrue.- Definition Classes
- Chain
-
def
fuse[X <: AnyRef](that: Chain[X], onDiff: (Nothing, X) ⇒ X): Chain[X]
Fuses this chain with the given chain by fusing the values using the given function.
Fuses this chain with the given chain by fusing the values using the given function. The function
onDiffis only called if the given list's element and this list's element differ. Hence, when the tail of both lists is equal fusing both lists will terminate immediately and the common tail is attached to the new heading. -
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
hasDefiniteSize: Boolean
- Definition Classes
- Chain → TraversableOnce → GenTraversableOnce
- def hasMultipleElements: Boolean
- def head: Nothing
- def headOption: Option[Nothing]
-
def
isEmpty: Boolean
- Definition Classes
- Naught → TraversableOnce → GenTraversableOnce
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isSingletonList: Boolean
-
final
def
isTraversableAgain: Boolean
- Definition Classes
- Chain → GenTraversableOnce
-
def
last: Nothing
- Definition Classes
- Chain
-
def
map[B, That](f: (Nothing) ⇒ B)(implicit bf: CanBuildFrom[Chain[Nothing], B, That]): That
- Definition Classes
- Chain → FilterMonadic
- def mapConserve[X <: AnyRef](f: (Nothing) ⇒ X): Chain[X]
-
def
mapToIntIterator(f: (Nothing) ⇒ Int): IntIterator
- Definition Classes
- Chain
-
def
max[B >: Nothing](implicit cmp: Ordering[B]): Nothing
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
maxBy[B](f: (Nothing) ⇒ B)(implicit cmp: Ordering[B]): Nothing
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
merge[X <: AnyRef, Z <: AnyRef](that: Chain[X])(f: (Nothing, X) ⇒ Z): Chain[Z]
Merges this chain with the given chain by merging the values using the given function.
-
def
min[B >: Nothing](implicit cmp: Ordering[B]): Nothing
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
minBy[B](f: (Nothing) ⇒ B)(implicit cmp: Ordering[B]): Nothing
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
mkString(pre: String, sep: String, post: String): String
- Definition Classes
- Chain → TraversableOnce → GenTraversableOnce
-
def
mkString: String
- Definition Classes
- Chain → TraversableOnce → GenTraversableOnce
-
def
mkString(sep: String): String
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def nonEmpty: Boolean
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
product[B >: Nothing](implicit num: Numeric[B]): B
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
reduce[A1 >: Nothing](op: (A1, A1) ⇒ A1): A1
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
reduceLeft[B >: Nothing](op: (B, Nothing) ⇒ B): B
- Definition Classes
- TraversableOnce
-
def
reduceLeftOption[B >: Nothing](op: (B, Nothing) ⇒ B): Option[B]
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
reduceOption[A1 >: Nothing](op: (A1, A1) ⇒ A1): Option[A1]
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
reduceRight[B >: Nothing](op: (Nothing, B) ⇒ B): B
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
reduceRightOption[B >: Nothing](op: (Nothing, B) ⇒ B): Option[B]
- Definition Classes
- TraversableOnce → GenTraversableOnce
- def reverse: Chain[Nothing]
-
def
reversed: List[Nothing]
- Attributes
- protected[this]
- Definition Classes
- TraversableOnce
-
final
def
seq: Naught.this.type
- Definition Classes
- Chain → TraversableOnce → GenTraversableOnce
-
def
sharedPrefix[X >: Nothing](other: Chain[X]): Chain[Nothing]
Computes the shared prefix.
Computes the shared prefix.
- Definition Classes
- Chain
-
def
size: Int
Counts the number of elements.
Counts the number of elements.
- returns
The size of this list.
- Definition Classes
- Chain → TraversableOnce → GenTraversableOnce
- Note
This operation has complexity O(n).
-
def
sizeHintIfCheap: Int
- Attributes
- protected[scala.collection]
- Definition Classes
- GenTraversableOnce
-
def
startsWith[X >: Nothing](other: Chain[X]): Boolean
- Definition Classes
- Chain
-
def
sum[B >: Nothing](implicit num: Numeric[B]): B
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- def tail: Nothing
-
def
take(n: Int): Naught.type
Takes the first n elements of this list.
-
def
takeUpTo(n: Int): Naught.this.type
Takes up to the first n elements of this list.
- def takeWhile(f: (Nothing) ⇒ Boolean): Chain[Nothing]
-
def
to[Col[_]](implicit cbf: CanBuildFrom[Nothing, Nothing, Col[Nothing]]): Col[Nothing]
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
toArray[B >: Nothing](implicit arg0: ClassTag[B]): Array[B]
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
toBuffer[B >: Nothing]: Buffer[B]
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
toIndexedSeq: IndexedSeq[Nothing]
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
toIntArraySet(implicit ev: <:<[Nothing, Int]): IntArraySet
- Definition Classes
- Chain
-
def
toIntTrieSet(implicit ev: <:<[Nothing, Int]): IntTrieSet
- Definition Classes
- Chain
-
def
toIterable: Iterable[Nothing]
- Definition Classes
- Chain → TraversableOnce → GenTraversableOnce
-
def
toIterator: Iterator[Nothing]
- Definition Classes
- Chain → GenTraversableOnce
-
def
toList: List[Nothing]
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
toMap[T, U](implicit ev: <:<[Nothing, (T, U)]): Map[T, U]
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
toSeq: Seq[Nothing]
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
toSet[B >: Nothing]: Set[B]
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
toStream: Stream[Nothing]
- Definition Classes
- Chain → GenTraversableOnce
-
def
toTraversable: Traversable[Nothing]
Returns a newly created
Traversable[T]collection.Returns a newly created
Traversable[T]collection.- Definition Classes
- Chain → TraversableOnce → GenTraversableOnce
-
def
toVector: Vector[Nothing]
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
withFilter(p: (Nothing) ⇒ Boolean): ChainWithFilter
- Definition Classes
- Chain → FilterMonadic
-
def
zip[X](other: Chain[X]): Chain[(Nothing, X)]
- Definition Classes
- Chain
-
def
zip[X](other: GenIterable[X]): Chain[(Nothing, X)]
- Definition Classes
- Chain
-
def
zipWithIndex: Chain[(Nothing, Int)]
- Definition Classes
- Chain