propertylist/IPropertylist: removed obsolete loadTextDB_top()
[metux-java.git] / dbobjects / DataList.java
blob73c964c890486faaf80c5228490d0dc192141b5c
2 package org.de.metux.dbObjects;
4 import java.util.*;
6 public class DataList
8 Hashtable t;
9 Enumeration e;
11 String walkName;
12 Data walkValue;
14 DataList ()
16 t = new Hashtable();
19 public boolean Add (String name, Data d)
21 t.put(name,d);
22 return true;
25 public Data Get (String name)
27 return (Data)t.get(name);
30 public void enumReset()
32 e = t.keys();
35 public boolean enumScan()
37 if (!e.hasMoreElements())
38 return false;
40 walkName = (String)e.nextElement();
41 walkValue = (Data)t.get(walkName);
42 return true;