2
0
mirror of https://github.com/chubin/cheat.sheets synced 2024-11-19 03:25:44 +00:00
cheat.sheets/sheets/_scala/Packages
2017-05-28 21:10:53 +00:00

19 lines
357 B
Plaintext

// wildcard import.
import scala.collection._
// selective import.
import scala.collection.Vector
import scala.collection.{Vector, Sequence}
// renaming import.
import scala.collection.{Vector => Vec28}
// import all from java.util except Date.
import java.util.{Date => _, _}
// declare a package.
package pkg // at start of file
package pkg { ... }