Trait

scala.collection.generic

Clearable

Related Doc: package generic

Permalink

trait Clearable extends AnyRef

This trait forms part of collections that can be cleared with a clear() call.

Source
Clearable.scala
Version

2.10

Since

2.10

Linear Supertypes
Known Subclasses
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Clearable
  2. AnyRef
  3. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def clear(): Unit

    Permalink

    Clears the clearable collection's contents.

    Clears the clearable collection's contents. After this operation, the clearable collection is empty.