Archive for the ‘Java’ Category

Java – Simple Smtp Mail Class

Just a few quick classes I whipped up for bare minimum SmtpMail support. also don’t rely on the default javax.mail package. I believe the Java SDK only provides the APIs and not the implementations. I ended up downloading the implementation from GlassFish: glassfish-embedded-all-3.1.1.jar SmtpMail.java 1 2 3 4 5 6 7 8 9 10 11 [...]

Java – Trie (Prefix Tree)

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 [...]

3D Cube Engine – Java

3x3x3 Y – Increase dimensions. i.e. 4x4x4 -> 5x5x5 (not that if solid mode is true, then it will render slower Arrows – Translate the cubes across the screen If you’re only interested in the Transformation algorithms, check the below link: Graph4D – demonstrates methods and actual source code for rotating a 4D vector. Graph3D [...]

Powered by WordPress | Designed by: WordPress Themes | Thanks to best wordpress themes, Find WordPress Themes and Themes Directory