Package ancheta.tablaGrafo
Class TablaHashG<K,V extends IVertice<T>,T>
- java.lang.Object
-
- ancheta.tablaGrafo.TablaHashG<K,V,T>
-
- All Implemented Interfaces:
ItablaHashG<K,IVertice<T>,T>
,java.io.Serializable
,java.lang.Iterable<IVertice<T>>
public class TablaHashG<K,V extends IVertice<T>,T> extends java.lang.Object implements ItablaHashG<K,IVertice<T>,T>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TablaHashG()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
darNumElementos()
IVertice<T>
eliminar(K llave)
IVertice<T>
get(K llave)
ListaHashG<K,PaqueteHash<K,IVertice<T>>>[]
getAreaPrimaria()
ArrayChimbo<PaqueteHash<K,IVertice<T>>>
getCopia()
java.util.Iterator<IVertice<T>>
iterator()
void
put(K llave, IVertice<T> elem)
-
-
-
Method Detail
-
put
public void put(K llave, IVertice<T> elem) throws ElementoRepetidoException
- Specified by:
put
in interfaceItablaHashG<K,V extends IVertice<T>,T>
- Throws:
ElementoRepetidoException
-
darNumElementos
public int darNumElementos()
- Specified by:
darNumElementos
in interfaceItablaHashG<K,V extends IVertice<T>,T>
-
iterator
public java.util.Iterator<IVertice<T>> iterator()
- Specified by:
iterator
in interfacejava.lang.Iterable<K>
-
getCopia
public ArrayChimbo<PaqueteHash<K,IVertice<T>>> getCopia()
-
getAreaPrimaria
public ListaHashG<K,PaqueteHash<K,IVertice<T>>>[] getAreaPrimaria()
-
-