comparison src/alice/jungle/persistence/PersistentJungleTree.java @ 88:0c98717f186e

Removed cast code
author one
date Tue, 05 Nov 2013 09:13:30 +0900
parents e641f559559c
children fcce7ca4adb9
comparison
equal deleted inserted replaced
87:f142dd4abc74 88:0c98717f186e
13 13
14 public class PersistentJungleTree <T extends TreeNode<T>> implements JungleTree { 14 public class PersistentJungleTree <T extends TreeNode<T>> implements JungleTree {
15 private final AtomicReservableReference<TreeContext<T>> repository; 15 private final AtomicReservableReference<TreeContext<T>> repository;
16 private final String uuid; 16 private final String uuid;
17 private final String treeName; 17 private final String treeName;
18 private final PersistentChangeListWriter writer; 18 private final ChangeListWriter writer;
19 private final TreeEditor editor; 19 private final TreeEditor editor;
20 20
21 public PersistentJungleTree(String _treeName, TreeContext<T> _tc,String _uuid,PersistentChangeListWriter _writer,TreeEditor _editor) 21 public PersistentJungleTree(String _treeName, TreeContext<T> _tc,String _uuid, ChangeListWriter _writer,TreeEditor _editor)
22 { 22 {
23 treeName = _treeName; 23 treeName = _treeName;
24 repository = new AtomicReservableReference<TreeContext<T>>(_tc); 24 repository = new AtomicReservableReference<TreeContext<T>>(_tc);
25 uuid = _uuid; 25 uuid = _uuid;
26 writer = _writer; 26 writer = _writer;