Created
January 1, 2012 12:03
-
-
Save notyy/1547150 to your computer and use it in GitHub Desktop.
runable
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
object Main extends App { | |
object SearchCodeEnum extends Enumeration { | |
type SearchCodeValue = Value | |
val org = Value | |
val file = Value | |
} | |
for(code <- SearchCodeEnum.values) {println(code)} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment