01: package com.dwipal;
02:
03: import java.util.*;
04:
05: public class DwSnmpMibTreeHash {
06:
07: Hashtable treeHash;
08:
09: DwSnmpMibTreeHash() {
10: treeHash = new Hashtable();
11: }
12:
13: public Object get(String key) {
14: return (treeHash.get(key));
15: }
16:
17: public void put(String key, Object value) {
18: treeHash.put(key, value);
19: }
20:
21: public boolean containsKey(String key) {
22: return (treeHash.containsKey(key));
23: }
24:
25: public Enumeration elements() {
26: return (treeHash.elements());
27: }
28: }
|