A Java implmentation of a Trie (i.e. Prefix Tree). A definition of a Trie can be found This implementation (ObjectTrie.java) is capable of storing an Array of any generic data. i.e. Object[], or Integer[], etc. In the end I also include a wrapper Trie.java that wraps ObjectTrie.java providing String support. Trie.java 1 2 3 4 [...]
Archive for the ‘General Development’ Category
SDL Keyboard Class – C++
Posted by kenny on February 16th, 2011
I wrote a simple wrapper in C++ for the SDL Keyboard library. It should make life a bit easier for handling 1. Single Key Input 2. Simultaneous Key Combos (Keys all pressed in any order) 3. Sequential Key Combonations (Keys all pressed in specific order) Download the whole ZIP file here -> Download Keyboard.h 1 [...]
Vector ND – C++
Posted by kenny on January 19th, 2011
This is a N-Dimensional Vector class written in C++. While it can be used for any dimension, if you would like to use 3 or less dimensions including rotation functions check out my previous post (here) VectorND.cpp 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 [...]

Posted in
Tags:

