empty

PartialFunction の empty 関数については、こちら。

object Collection {
  def empty[A]: Collection[A]
}

empty は、型 A の要素を含めるコレクションを要素なしで作成します。