Mercurial > hg > Database > jungle-sharp
annotate Main/jungle-main/data/treemap/rebuildNode.cs @ 41:bd44baa491a9 default tip
add TestJungleCore.cs
author | Kazuma Takeda |
---|---|
date | Thu, 23 Feb 2017 17:19:55 +0900 |
parents | f2ea780b3e80 |
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 } |