view src/treecms/memory/OnMemoryForest.java @ 22:fa784faafc78

commit
author shoshi
date Tue, 07 Jun 2011 16:42:49 +0900
parents f3150b37f9be
children 77a894c0b919
line wrap: on
line source

package treecms.memory;

import treecms.api.Forest;
import treecms.api.MonotonicTree;
import treecms.api.NodeID;
import treecms.tree.id.RandomNodeID;

public class OnMemoryForest implements Forest
{
	private final OnMemoryMonotonicTree m_tree;
	
	public OnMemoryForest()
	{
		NodeID id = new RandomNodeID(null);
		OnMemoryNode newNode = new OnMemoryNode(id,null);
		m_tree = OnMemoryMonotonicTree.createInstance(newNode,null);
	}
	
	@Override
	public MonotonicTree getMainTree()
	{
		// TODO Auto-generated method stub
		return null;
	}
}