MemoryStore.java 824 Bytes
/*
 * 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();
    }
}