Skip to content

Instantly share code, notes, and snippets.

@yaronv
Created April 13, 2017 14:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yaronv/197e78b2782b3d4246c570cd73b9d73f to your computer and use it in GitHub Desktop.
Save yaronv/197e78b2782b3d4246c570cd73b9d73f to your computer and use it in GitHub Desktop.
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