RepairContainer.java 682 Bytes
/*
 * Decompiled with CFR 0_118.
 */
package com.adobe.internal.pdftoolkit.core.cos;

import com.adobe.internal.pdftoolkit.core.cos.CosObject;
import com.adobe.internal.pdftoolkit.core.types.ASName;
import java.util.HashMap;

class RepairContainer {
    private CosObject obj = null;
    private HashMap<ASName, CosObject> mapping;

    public RepairContainer(CosObject obj) {
        this.obj = obj;
        this.mapping = new HashMap();
    }

    void put(ASName key, CosObject value) {
        this.mapping.put(key, value);
    }

    CosObject get(ASName key) {
        return this.mapping.get(key);
    }

    CosObject getRepairedObject() {
        return this.obj;
    }
}