if (from == null) return null; final Vector vector = (Vector) get(from); if (vector != null) { final int n = vector.size(); for (int i = 0; i < n; i++) { final Object item = vector.elementAt(i); if (item.equals(to)) { return item; } } } return null;
Vector vector = (Vector)get(key); if (vector == null) super.put(key, vector = new Vector()); vector.add(value); return vector;