KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
Does Scala support static imports, like Java does? Like, say: import static java.util.Collections.singleton; Can I also do the above in Scala? I'm getting a compile error when I try it -- something about a misplaced dot -- so presumably my syntax is incorrect?
Tags (comma-separated)
Save Edits
Cancel