Index Page New Miscellaneous Role Playing Games Naval History Java
 

JAVA PROGRAMMING

This is Uncle Tom's Java Programming Section.




Java utils for a packed String class and a trie implementation
You can download my personal take on a trie implementation in java here. You also get a CharacterUtil class that gives you much faster implementations of the isDigit, isLetter etc. methods. The package contains also a LatinString class which packs upper case latin characters into 6 bits. Yes this is nerdy, but a HashMap that uses the LatinString class consumes less memory and is almost twice as fast as a HashMap using java.util.String. An other thing I like is my AsciiToolBar. However, you may look at the Javadoc first.

License

All code on this site is available under the Apache 2.0 license:

Copyright 2011 Thomas Kathmann

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.