/** isEmpty is true of empty map and false for non-empty */
 public void testDescendingIsEmpty() {
   ConcurrentNavigableMap empty = dmap0();
   ConcurrentNavigableMap map = dmap5();
   assertTrue(empty.isEmpty());
   assertFalse(map.isEmpty());
 }
예제 #2
0
 public boolean isClean() {
   return partitions.isEmpty();
 }