Advertisement
zamotivator

Untitled

Mar 22nd, 2013
39
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Scala 0.34 KB | None | 0 0
  1.   abstract class Param(val name : String) {
  2.     val value : Option[String]
  3.     ....
  4.   }
  5.  
  6.   class Scope(userInfoEmail : Boolean = true,
  7.               userInfoProfile : Boolean = true)
  8.     extends Param("scope") {
  9.     val value : Option[String] = {
  10.       ...
  11.     }
  12.   }
  13.  
  14.  class State(value: Option[String] = None) extends Param("state")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement