J.Util.Proxy.Collection

abstract class Collection[A] extends J.Util.Proxy.Collection.Basis[A]
trait Collection[A]
trait Able.Size
trait Able.~[A]
class java.lang.Object
trait scala.Matchable
class Any

Def

@scala.annotation.targetName("stream")
override def ~: ~[A]

Stream elements

Stream elements

Returns a stream of all collection elements

Unless specifically defined, the order must be assumed as random

  val c = Collection(1,3,5,7)
  c.~.tp

  // Output
  ~(1, 3, 5, 7)
Definition Classes
Inherited from
Basis
Source
Collection.scala
override def isEmpty: Boolean

Empty check

Empty check

Returns true if instance is empty.

Definition Classes
Inherited from
Size
Source
Size.scala
override def size: Int

Element count

Element count

Retuns element count

Definition Classes
Inherited from
Basis
Source
Collection.scala