tinyTiM 2.0.0 Alpha 5

tinyTiM is a lightweight, in-memory implementation of the Topic Maps API (TMAPI).
tinyTiM is a lightweight, in-memory implementation of the Topic Maps API (TMAPI).


You can configure tinyTiM through some properties.

For convenience, the class org.tinytim.Property provides constants for tinyTiM-specific properties.

Please note, that these properties are tinyTiM-specific, other TMAPI compatible Topic Maps engines ignore them or may report failures.

CollectionFactory property

tinyTiM provides two collection factories. The collection factory is used to create instances of java.util.Map and java.util.Set.
If tinyTiM detects, that the Trove4J library is available, it utilizes that library. If Trove4J is not available, it uses a collection factory that utilizes the default Java collections.

As said, tinyTiM tries to detect the approbate collection factory, but you can configure the collection factory explicitly:

import org.tmapi.core.TopicMapSystemFactory;
import org.tmapi.core.TopicMapSystem;

TopicMapSystemFactory tmSysFactory = TopicMapSystemFactory.newInstance();

// Sets the collection factory to the Java implementation even if Trove4J is available
tmSysFactory.setProperty("org.tinytim.CollectionFactory", "org.tinytim.JavaCollectionFactory");

TopicMapSystem tmSys = tmSysFactory.newTopicMapSystem();

last updated on:
July 24th, 2009, 10:27 GMT
developed by:
Lars Heuer and Stefan Lischke
license type:
The Apache License 2.0 
ROOT \ Text Editing&Processing \ Indexing
Download Button

In a hurry? Add it to your Download Basket!

user rating 18



Rate it!
What's New in version 2.0.0 Alpha 4
  • Two bugs have been fixed. Valid decimal literals (xsd:decimal) were not accepted and locators (xsd:anyURI) were created twice. The latter affected the integrity of the Topic Maps engine seriously.
read full changelog

Add your review!