@Test public void testClose() throws InterruptedException, DeadlockException, TransactionRolledBackException, IOException { { loadDisklessDatabase(0); Cursor cursor = map.first(); assertNull(cursor.next()); cursor.close(); assertNull(cursor.next()); cursor.close(); assertNull(cursor.next()); } { loadDisklessDatabase(10); Cursor cursor = map.first(); assertNotNull(cursor.next()); assertNotNull(cursor.next()); cursor.close(); assertNull(cursor.next()); cursor.close(); assertNull(cursor.next()); } }
public abstract void close();
Cursor { public abstract void close(); }
Cursor { public abstract void close();  }
Cursor { public abstract void close();  abstract AbstractRecord next(); abstract AbstractRecord previous(); abstract void close(); }
Cursor { public abstract void close();  abstract AbstractRecord next(); abstract AbstractRecord previous(); abstract void close();  }