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