view 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
line wrap: on
line source

using System.Collections;
using System;

public class rebuildNode<K,V> {
	private bool rebuild;
	TreeMapNode<K,V> node;

	public rebuildNode(bool l,TreeMapNode<K,V> node){
		this.rebuild = l;
		this.node = node;
	}
	//don't same name.
	public bool rebuilds(){
		return rebuild;
	}

	public TreeMapNode<K,V> getNode(){
		return node;
	}

	public bool notEmpty(){
		return node != null;
	}
}