blob: 8c3e0b2ca39ef841cdb750c6dfffb490d65612ff (
plain) (
blame)
1
2
3
4
5
6
7
8
|
object Test extends Application{
import scala.collection.immutable.IntMap;
val it = IntMap(8 -> 2, 11 -> 3, 1 -> 2, 7 -> 13);
assert(it.firstKey == 1);
assert(it.lastKey == 11);
}
|