    001    package net.minecraft.dispenser;
    002
    003    import java.util.HashMap;
    004    import java.util.Map;
    005
    006    public class RegistrySimple implements IRegistry
    007    {
    008        /** Objects registered on this registry. */
    009        protected final Map registryObjects = new HashMap();
    010
    011        public Object func_82594_a(Object par1Obj)
    012        {
    013            return this.registryObjects.get(par1Obj);
    014        }
    015
    016        /**
    017         * Register an object on this registry.
    018         */
    019        public void putObject(Object par1Obj, Object par2Obj)
    020        {
    021            this.registryObjects.put(par1Obj, par2Obj);
    022        }
    023    }