We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Send the Get message to a sequence actor to get the value associated with a key.
case class Get[K](key: K)
Test.
val alphabet = new java.util.TreeMap[String, String] alphabet.put("a", "Apple") alphabet.put("b", "Boy") alphabet.put("c", "Cat") val alphabetSeq = new NavMapSeq(alphabet) println(Future(alphabetSeq, Get("c"))) println(Future(alphabetSeq, Get("d")))
Output.
Cat null
GetTest
Tutorial