Redes.Ethernet
Class Puertos

java.lang.Object
  extended byRedes.Ethernet.Puertos

class Puertos
extends java.lang.Object


Field Summary
(package private)  java.util.Vector key
          Clave
(package private)  java.util.Vector value
          Valor
 
Constructor Summary
Puertos()
          Constructor
 
Method Summary
 Objeto get(Direccion direccion)
          Devuelve el Objeto asociado a la direccion especificada
 void put(Direccion direccion, Objeto valor)
          Inserta un elemento en el vector, sin repetir
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

key

java.util.Vector key
Clave


value

java.util.Vector value
Valor

Constructor Detail

Puertos

public Puertos()
Constructor

Method Detail

get

public Objeto get(Direccion direccion)
Devuelve el Objeto asociado a la direccion especificada

Parameters:
direccion - Direccion
Returns:
Objeto asociado a la direccion

put

public void put(Direccion direccion,
                Objeto valor)
Inserta un elemento en el vector, sin repetir

Parameters:
direccion - Clave
valor - Valor asociado a la clave