()
| 678 | } |
| 679 | |
| 680 | public long sizeLong() { |
| 681 | //PERF use counted btrees once they become available |
| 682 | if(hi==null && lo==null) |
| 683 | return m.sizeLong(); |
| 684 | |
| 685 | Iterator<K> i = keyIterator(); |
| 686 | long counter = 0; |
| 687 | while(i.hasNext()){ |
| 688 | counter++; |
| 689 | i.next(); |
| 690 | } |
| 691 | return counter; |
| 692 | } |
| 693 | |
| 694 | |
| 695 | @Override |
no test coverage detected