Mercurial > hg > Database > jungle-sharp
annotate Main/jungle-main/data/treemap/rebuildNode.cs @ 35:f2ea780b3e80
fix
author | Kazuma Takeda |
---|---|
date | Wed, 22 Feb 2017 16:30:19 +0900 |
parents | 1f99e150f336 |
children |
rev | line source |
---|---|
35 | 1 using System.Collections; |
20 | 2 using System; |
3 | |
4 public class rebuildNode<K,V> { | |
5 private bool rebuild; | |
6 TreeMapNode<K,V> node; | |
7 | |
8 public rebuildNode(bool l,TreeMapNode<K,V> node){ | |
9 this.rebuild = l; | |
10 this.node = node; | |
11 } | |
12 //don't same name. | |
13 public bool rebuilds(){ | |
14 return rebuild; | |
15 } | |
16 | |
17 public TreeMapNode<K,V> getNode(){ | |
18 return node; | |
19 } | |
20 | |
21 public bool notEmpty(){ | |
22 return node != null; | |
23 } | |
24 } |