Back to project page dexedd.
The source code is released under:
MIT License
If you think the Android project dexedd listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.nav.dexedd.structure; // w w w . j a va 2 s . c om import java.util.List; /** * Tree-like generic structure. * * @author Eduardo Naveda * @since 0.0.1 */ public class Tree<T> { private T data; private Integer rank; private List<Tree<T>> children; public T getData() { return data; } public void setData(T data) { this.data = data; } public Integer getRank() { return rank; } public void setRank(Integer rank) { this.rank = rank; } public List<Tree<T>> getChildren() { return children; } public void setChildren(List<Tree<T>> children) { this.children = children; } }