]>
Commit | Line | Data |
---|---|---|
ee9dd372 TT |
1 | /* Copyright (C) 1998, 1999 Cygnus Solutions |
2 | ||
3 | This file is part of libgcj. | |
4 | ||
5 | This software is copyrighted work licensed under the terms of the | |
6 | Libgcj License. Please consult the file "LIBGCJ_LICENSE" for | |
7 | details. */ | |
8 | ||
9 | package java.util; | |
10 | ||
11 | /** | |
12 | * @author Warren Levy <warrenl@cygnus.com> | |
13 | * @date August 31, 1998. | |
14 | */ | |
15 | /* Written using "Java Class Libraries", 2nd edition, ISBN 0-201-31002-3 | |
16 | * "The Java Language Specification", ISBN 0-201-63451-1 | |
17 | * plus online API docs for JDK 1.2 beta from http://www.javasoft.com. | |
18 | * Status: Believed complete and correct | |
19 | */ | |
20 | ||
21 | /* The JDK 1.2 beta doc indicates that Dictionary is obsolete and that the | |
22 | * new java.util.Map interface should be used instead. | |
23 | */ | |
24 | public abstract class Dictionary | |
25 | { | |
26 | public abstract Enumeration elements(); | |
27 | public abstract Object get(Object key) throws NullPointerException; | |
28 | public abstract boolean isEmpty(); | |
29 | public abstract Enumeration keys(); | |
30 | public abstract Object put(Object key, Object elem) | |
31 | throws NullPointerException; | |
32 | public abstract Object remove(Object key) throws NullPointerException; | |
33 | public abstract int size(); | |
34 | } |