Skip to content

Wrong type of result. ArrayList istead Seq. #7

Open
optician opened this issue Nov 30, 2016 · 0 comments
Open

Wrong type of result. ArrayList istead Seq. #7

optician opened this issue Nov 30, 2016 · 0 comments

Comments

@optician
Copy link
Contributor

optician commented Nov 30, 2016

println(Await.result(
    spike.getByKey[String, Seq[ArrayBuffer[Double]]]("1-1111A1", Nil).collect {
    case (xs, _, _) if xs.head._2.isDefined ⇒
      xs.head._2.get
  }, Duration.Inf
  ).getClass)

returns: class java.util.ArrayList

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant