Improved demo display.
This commit is contained in:
parent
020df07995
commit
8bedd19e84
1 changed files with 3 additions and 2 deletions
|
@ -58,6 +58,7 @@ public final class SikevaDBDemo
|
|||
SikevaDB database = null;
|
||||
try
|
||||
{
|
||||
//
|
||||
File homeDirectory = new File("/tmp/footest");
|
||||
database = SikevaDBFactory.get(homeDirectory);
|
||||
|
||||
|
@ -127,8 +128,8 @@ public final class SikevaDBDemo
|
|||
}
|
||||
|
||||
//
|
||||
System.out.println("Database values:\t" + database.countOfElements());
|
||||
System.out.println("Database memory:\t" + database.memorySize() + " bytes");
|
||||
System.out.println(String.format("Database values:\t %d elements", database.countOfElements()));
|
||||
System.out.println(String.format("Database memory:\t %d bytes", database.memorySize()));
|
||||
|
||||
//
|
||||
database.close();
|
||||
|
|
Loading…
Reference in a new issue