Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
case class House() {
var street : String = ""
var price: String = ""
var postalCode: String = ""
var lat: String = ""
var lng: String = ""
override def toString: String = {
street + "," + price + "," + postalCode + "," + lat + "," + lng
}
}
object House {
def getHeadlines = "Street,Price,Postal,Latitude,Longitude"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment