Slide 28
Slide 28 text
Scala:
サンプルデータ
scala> case class Entity(key: Int, x: String)
// defined case class Entity
scala> val entities = Seq(
| Entity(3, "a"),
| Entity(1, "b"),
| Entity(2, "c"),
| Entity(1, "d"),
| Entity(1, "e"),
| )
val entities: Seq[Entity] = List(Entity(3,a), Entity(1,b),
Entity(2,c), Entity(1,d), Entity(1,e))