public class Arbol
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
Arbol.PrimerLado |
static class |
Arbol.Tipos
Esta clase contiene los tipos de arboles.
|
Modifier and Type | Field and Description |
---|---|
private int |
altura |
private int |
ancho |
private ArbolNodo |
arbol |
private int |
size |
Constructor and Description |
---|
Arbol() |
Modifier and Type | Method and Description |
---|---|
int |
getAltura() |
int |
getAlturaRecursivo(ArbolNodo nodo) |
int |
getAncho() |
ArbolNodo |
getArbol() |
boolean |
insertar(int valor) |
void |
setAltura(int altura) |
void |
setAncho(int ancho) |
int |
size() |
private ArbolNodo arbol
private int size
private int altura
private int ancho
public boolean insertar(int valor)
public ArbolNodo getArbol()
public int size()
public int getAltura()
public void setAltura(int altura)
public int getAncho()
public void setAncho(int ancho)
public int getAlturaRecursivo(ArbolNodo nodo)