The ArrayBuffer Class

import scala.collection.mutable.ArrayBuffer
val ints = ArrayBuffer[Int]()
val names = ArrayBuffer[String]()
val ints = ArrayBuffer[Int]()
ints += 1
ints += 2
The ArrayBuffer Class → are a → Scala Collections.

The ArrayBuffer Class — Structure map

Clickable & Draggable!

The ArrayBuffer Class — Related pages: