Mercurial > hg > Members > tatsuki > bench > jungle-core
view src/main/java/jp/ac/u_ryukyu/ie/cr/shoshi/jungle/store/impl/logger/LoggingNode.java @ 117:74723b26ad96
add IndexJungleTreeEditr and remove DefaultJungleIndexTreeEditor
author | one |
---|---|
date | Tue, 30 Sep 2014 13:15:22 +0900 |
parents | 5df5505e1c1e |
children | 371b6ddb78f2 |
line wrap: on
line source
package jp.ac.u_ryukyu.ie.cr.shoshi.jungle.store.impl.logger; import fj.data.List; import fj.data.TreeMap; import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.store.NodePath; import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.store.impl.TreeNode; import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.util.Pair; public class LoggingNode { public LoggingNode(TreeNode _wrap) { this(_wrap,new DefaultOperationLog()); } public LoggingNode(TreeNode _wrap,OperationLog _log) { wrap = _wrap; log = _log; } private final TreeNode wrap; private final OperationLog log; public LoggingAttributes getAttributes() { return new LoggingAttributes(wrap,log); } public LoggingChildren getChildren() { return new LoggingChildren(wrap,log); } public OperationLog getOperationLog() { return log; } public TreeNode getWrap() { return wrap; } }