-
Notifications
You must be signed in to change notification settings - Fork 95
Scala web templates: xylo.collections
Stefan Endrullis edited this page Jun 10, 2019
·
1 revision
This file contains templates related to Scala or Java collections.
General templates:
-
.toList
- wraps the element into a List -
.toSet
- wraps the element into a Set -
.toMap
- wraps the element into a Map -
.toOption
- wraps the element into a Option -
.toSome
- wraps the element into a Some
Collection templates:
-
.asJava_import
- importsscala.collection.JavaConverters._
and expands to$expr$.asJava
-
.asScala_import
- importsscala.collection.JavaConverters._
and expands to$expr$.asScala