2
0
mirror of https://github.com/chubin/cheat.sheets synced 2024-11-07 09:20:22 +00:00
cheat.sheets/sheets/_scala/Packages

19 lines
357 B
Plaintext
Raw Normal View History

2017-05-28 21:10:53 +00:00
// 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 { ... }