MemoryStore.java
824 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
/*
* Decompiled with CFR 0_118.
*/
package com.day.cq.rewriter.xml;
import java.util.Enumeration;
import java.util.Hashtable;
public class MemoryStore {
protected Hashtable<Object, Object> m_table = new Hashtable();
public Object get(Object key) {
return this.m_table.get(key);
}
public void store(Object key, Object value) {
this.m_table.put(key, value);
}
public void remove(Object key) {
this.m_table.remove(key);
}
public void clear() {
this.m_table.clear();
}
public void free() {
}
public boolean containsKey(Object key) {
return this.m_table.containsKey(key);
}
public Enumeration<Object> keys() {
return this.m_table.keys();
}
public int size() {
return this.m_table.size();
}
}