Arunachalam
Arunachalam

Reputation: 6037

how to store a b+ tree in a file in java?

How can I store a B+ tree structure in a file in Java?

After creating a B+ tree, how can I persistently store it in a file instead of using memory? Can I store every node in the file?

Upvotes: 0

Views: 618

Answers (1)

moodywoody
moodywoody

Reputation: 2159

You could try using serialization and simply writing the whole object into a file.

Upvotes: 3

Related Questions