Make your own free website on Tripod.com

HybridList dictionary example

This applet is designed to demonstrate dictionary based on HybridList. It can be also run in command line: "java DictionaryExample".


class ClientExample includes 3 key parameters used for sorting:


Applet generates 100 nodes of type ClientExample with random values and includes each node into 3  lists ordered by different keys.
These sorted lists create universal dictionary that provides fast and efficient conversion in all directions:

The following example demonstrates typical operations with database of clients:



 Source code of test applet:

DictionaryExample.java

ClientExample.java