PDFXObjectImageWithLocationMap.java 2 KB
/*
 * Decompiled with CFR 0_118.
 * 
 * Could not load the following classes:
 *  com.adobe.internal.pdftoolkit.core.exceptions.PDFIOException
 *  com.adobe.internal.pdftoolkit.core.exceptions.PDFInvalidDocumentException
 *  com.adobe.internal.pdftoolkit.core.exceptions.PDFSecurityException
 *  com.adobe.internal.pdftoolkit.core.types.ASName
 */
package com.adobe.internal.pdftoolkit.pdf.graphics.xobject;

import com.adobe.internal.pdftoolkit.core.exceptions.PDFIOException;
import com.adobe.internal.pdftoolkit.core.exceptions.PDFInvalidDocumentException;
import com.adobe.internal.pdftoolkit.core.exceptions.PDFSecurityException;
import com.adobe.internal.pdftoolkit.core.types.ASName;
import com.adobe.internal.pdftoolkit.pdf.graphics.xobject.PDFXObjectImageWithLocation;
import java.util.Collection;
import java.util.HashMap;
import java.util.Map;
import java.util.Set;

public class PDFXObjectImageWithLocationMap {
    protected HashMap map = new HashMap();

    public int size() {
        return this.map.size();
    }

    public void clear() {
        this.map.clear();
    }

    public boolean isEmpty() {
        return this.map.isEmpty();
    }

    public boolean containsKey(Object key) {
        return this.map.containsKey(key);
    }

    public boolean containsValue(Object value) {
        return this.map.containsValue(value);
    }

    public Collection values() {
        return this.map.values();
    }

    public void putAll(Map t) {
        this.map.putAll(t);
    }

    public Set entrySet() {
        return this.map.entrySet();
    }

    public Set keySet() {
        return this.map.keySet();
    }

    public Object remove(Object key) {
        return this.map.remove(key);
    }

    public PDFXObjectImageWithLocation get(ASName name) {
        return (PDFXObjectImageWithLocation)this.map.get((Object)name);
    }

    public void set(ASName name, PDFXObjectImageWithLocation xObject) throws PDFInvalidDocumentException, PDFIOException, PDFSecurityException {
        this.map.put(name, xObject);
    }
}