Skip to content

Instantly share code, notes, and snippets.

@phadej
Created December 15, 2014 05:48
Show Gist options
  • Save phadej/49bbeaef8715b2fca375 to your computer and use it in GitHub Desktop.
Save phadej/49bbeaef8715b2fca375 to your computer and use it in GitHub Desktop.
scala> case class BookRow(broker: String, volume: Double, price: String)
defined class BookRow
scala> BookRow("A", 100.0, "10.6")
res2: BookRow = BookRow(A,100.0,10.6)
scala> BookRow("A", 100.0, "10.6") == BookRow("A", 50.0 + 50.0, "10.6")
res3: Boolean = true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment