This content has been marked as final. Show 6 replies
Zeinab wrote:This site is not a coding service. It's for helping people learn Java.
does any one have code for B+Trees?
i've spent a couple of days and i've been unsuccessful doing it myself or fiding a refrence code that helpsSo show what you've tried and explain clearly and precisely what specific problems you're having.
Make sure to use code tags: http://forums.oracle.com/forums/ann.jspa?annID=1429
1 person found this helpful
simple B+Tree javacodeThere is no such thing as 'simple B+ tree code'. It takes hundreds of lines of code. You won't find it in a forum. It is commercially valuable, at least it was when I wrote mine, and comes with a price tag.
It is also obsolete. Use a database, they have all this stuff built in, and absolutely tons of added value.
oh, i didn't know
does mysql have such a thing?
I suspect every database product in existence would have a highly optimized B+-tree indexing system. Counterexampls welcome.
i searched but didnt find such a database with built in bplus tree
it seems they've just b tree built in
can any one help?
i wanna know to write it myself or not
They will almost certainly be B+-trees despite what it says. B-Trees aren't actually that much use as their sequential access performance is terrible.