Created
April 13, 2017 14:27
-
-
Save yaronv/197e78b2782b3d4246c570cd73b9d73f to your computer and use it in GitHub Desktop.
This file contains 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
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