Skip to content

Commit

Permalink
Merge pull request #78 from kdabir/master
Browse files Browse the repository at this point in the history
Updated README code example to reflect API changes and Changed groupid to org.apache.jdbm
  • Loading branch information
jankotek committed May 16, 2012
2 parents 275f231 + 85d1a24 commit 98b794c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions README.md
Expand Up @@ -89,17 +89,17 @@ JDBM is not currently in any Maven repository. TODO: We should have soon custom
Quick example
-------------

import net.kotek.jdbm.*;
import org.apache.jdbm.*;

//Open database using builder pattern.
//All options are available with code autocompletion.
DB db = DBMaker.openFile("test")
.deleteAfterClose()
.deleteFilesAfterClose()
.enableEncryption("password",false)
.make();

//open an collection, TreeMap has better performance then HashMap
SortedMap<Integer,String> map = db.createMap("collectionName");
SortedMap<Integer,String> map = db.createTreeMap("collectionName");

map.put(1,"one");
map.put(2,"two");
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Expand Up @@ -3,7 +3,7 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">

<modelVersion>4.0.0</modelVersion>
<groupId>jdbm</groupId>
<groupId>org.apache.jdbm</groupId>
<artifactId>jdbm</artifactId>
<version>3.0-SNAPSHOT</version>

Expand Down

0 comments on commit 98b794c

Please sign in to comment.