KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > objectweb > jac > lib > java > util > Hashtable


1 /**
2  * This class delegates to java.util.Hashtable
3  * This file was automatically generated by JAC (-g option)
4  * DO NOT MODIFY
5  * Author: Renaud Pawlak (pawlak@cnam.fr)
6  */

7
8 package org.objectweb.jac.lib.java.util;
9
10 import java.util.Enumeration JavaDoc;
11 import java.util.Map JavaDoc;
12 import java.util.Set JavaDoc;
13 import org.objectweb.jac.util.Strings;
14
15
16
17 public class Hashtable extends java.util.Hashtable JavaDoc {
18
19     //private java.util.Hashtable delegate = new java.util.Hashtable();
20

21     public Object JavaDoc clone() {
22         System.out.println("Hashtable.clone");
23         Object JavaDoc result = null;
24         try {
25             result = super.clone();
26         } catch(Exception JavaDoc e) {
27         };
28         //((Hashtable)result).delegate=(java.util.Hashtable)delegate.clone();
29
return result;
30     }
31
32     public Object JavaDoc put(Object JavaDoc p0, Object JavaDoc p1) {
33         return super.put(p0, p1);
34     }
35
36     public Object JavaDoc get(Object JavaDoc p0) {
37         return super.get(p0);
38     }
39
40     public boolean contains(Object JavaDoc p0) {
41         return super.contains(p0);
42     }
43
44     public int size() {
45         return super.size();
46     }
47
48     public Object JavaDoc remove(Object JavaDoc p0) {
49         return super.remove(p0);
50     }
51
52     public java.util.Collection JavaDoc values() {
53         return super.values();
54     }
55
56     public java.util.Enumeration JavaDoc elements() {
57         return super.elements();
58     }
59
60     public void clear() {
61         super.clear();
62     }
63
64     public Enumeration JavaDoc keys() {
65         return super.keys();
66     }
67
68     public Set JavaDoc keySet() {
69         return super.keySet();
70     }
71
72     public Set JavaDoc entrySet() {
73         return super.entrySet();
74     }
75
76     public boolean isEmpty() {
77         return super.isEmpty();
78     }
79
80     public boolean containsValue(Object JavaDoc p0) {
81         return super.containsValue(p0);
82     }
83
84     public boolean containsKey(Object JavaDoc p0) {
85         return super.containsKey(p0);
86     }
87
88     public void putAll(Map JavaDoc p0) {
89         super.putAll(p0);
90     }
91
92     public boolean equals(Object JavaDoc o) {
93         return this == o;
94     }
95
96     public int hashCode() {
97         return System.identityHashCode(this);
98     }
99
100     public String JavaDoc toString() {
101         return getClass().getName()+"@"+System.identityHashCode(this);
102     }
103 }
104
Popular Tags