Created
June 26, 2011 06:07
-
-
Save hjast/1047298 to your computer and use it in GitHub Desktop.
Test.scala
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
package com.sportaneous.snippet | |
import java.util.Calendar | |
import java.text.SimpleDateFormat | |
import net.liftweb.http.js.JsCmds.ReplaceOptions._ | |
import com.sportaneous.snippet.SelectValue._ | |
import net.liftweb.http.js.{JE, JsCmd} | |
import net.liftweb.http.js.JsCmds.After._ | |
import xml.{Null, PrefixedAttribute, NodeSeq} | |
import net.liftweb.http.{StatefulSnippet, SHtml, S} | |
import com.sportaneous.api.client.SportaneousAPIClient | |
import com.sportaneous.snippet.Adaptor._ | |
import com.sportaneous.api.client.v1._ | |
import net.liftweb.util.Helpers | |
import Helpers._ | |
import net.liftweb.http.js.JsCmds._ | |
import net.liftweb.common.Full._ | |
import net.liftweb.common.Full | |
import scala.Predef._ | |
import com.sportaneous.model.{RecurringGame, DayOfWeek} | |
import scala.collection.JavaConversions._ | |
import _root_.java.text.SimpleDateFormat | |
import _root_.java.util.Calendar | |
import _root_.scala.xml._ | |
import _root_.net.liftweb.common._ | |
import _root_.net.liftweb.http._ | |
import _root_.net.liftweb.http.js.JE | |
import _root_.net.liftweb.http.js.JsCmd | |
import _root_.net.liftweb.http.js.JsCmds._ | |
import _root_.com.sportaneous.api.client._ | |
import _root_.com.sportaneous.api.client.v1._ | |
import S._ | |
import collection.JavaConversions._ | |
import _root_.org.apache.commons.lang.StringUtils._ | |
abstract class Foo | |
{ | |
// type Game = { def getPlayLevel: PlayLevel; def getSport:Sport; def getFacility: API_Facility; def getMinPlayerCount: java.lang.Integer; def getMaxPlayerCount: java.lang.Integer; def getNotes:String} | |
//type Game = { def getPlayLevel(): com.sportaneous.api.client.v1.PlayLevel}//def getSport:Sport; def getFacility: API_Facility; def getMinPlayerCount: java.lang.Integer; def getMaxPlayerCount: java.lang.Integer; def getNotes:String} | |
type Game = {def getNotes(): java.lang.String } | |
def getGame: Game | |
} | |
abstract class Bar extends Foo { | |
override type Game = API_Game | |
def getGame: Game | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment