object NonEmptyChunk extends Serializable
- Alphabetic
- By Inheritance
- NonEmptyChunk
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def apply[A](a: A, as: A*): NonEmptyChunk[A]
Constructs a
NonEmptyChunk
from one or more values. - final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def fromChunk[A](chunk: Chunk[A]): Option[NonEmptyChunk[A]]
Checks if a
chunk
is not empty and constructs aNonEmptyChunk
from it. - def fromCons[A](as: ::[A]): NonEmptyChunk[A]
Constructs a
NonEmptyChunk
from the::
case of aList
. - def fromIterable[A](a: A, as: Iterable[A]): NonEmptyChunk[A]
Constructs a
NonEmptyChunk
from anIterable
. - def fromIterableOption[A](as: Iterable[A]): Option[NonEmptyChunk[A]]
Constructs a
NonEmptyChunk
from anIterable
orNone
otherwise. - final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def single[A](a: A): NonEmptyChunk[A]
Constructs a
NonEmptyChunk
from a single value. - final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- implicit def toChunk[A](nonEmptyChunk: NonEmptyChunk[A]): Chunk[A]
Provides an implicit conversion from
NonEmptyChunk
toChunk
for methods that may not return aNonEmptyChunk
. - def toString(): String
- Definition Classes
- AnyRef → Any
- def unapplySeq[A](nonEmptyChunk: NonEmptyChunk[A]): Some[Seq[A]]
Extracts the elements from a
NonEmptyChunk
. - def unapplySeq[A](seq: Seq[A]): Option[Seq[A]]
Extracts the elements from a
Chunk
. - val unit: NonEmptyChunk[Unit]
The unit non-empty chunk.
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- 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]) @native()