Mercurial > hg > Members > shoshi > TreeCMSv2
view src/treecms/api/MonotonicTree.java @ 20:084de6909451
commit
author | shoshi |
---|---|
date | Wed, 01 Jun 2011 15:35:50 +0900 |
parents | bb9760760744 |
children |
line wrap: on
line source
package treecms.api; /** * 木構造を非破壊的に更新する機能を提供します.TreeEditorはTreeを非破壊的に更新していき,commitすることでTreeに更新を適用します. * TreeEditor.getRootはcommitされていない状態のRootNodeを取得します. * この機能は分散リポジトリを参考に考案されました. * @author shoshi */ public interface MonotonicTree { public boolean commit(boolean _force); public boolean pull(); public boolean check(); public void merge(); public MonotonicTreeNode getRoot(); }