package com.Acrobot.ChestShop.Containers;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.ListIterator;

import org.bukkit.Location;
import org.bukkit.Material;
import org.bukkit.entity.HumanEntity;
import org.bukkit.event.inventory.InventoryType;
import org.bukkit.inventory.Inventory;
import org.bukkit.inventory.InventoryHolder;
import org.bukkit.inventory.ItemStack;

/**
 * @author Acrobot
 */
public class AdminInventory implements Inventory {
    @Override
    public int getSize() {
        return Integer.MAX_VALUE;
    }

    @Override
    public int getMaxStackSize() {
        return Integer.MAX_VALUE;
    }

    @Override
    public void setMaxStackSize(int i) {
    }

    @Override
    public String getName() {
        return "Admin inventory";
    }

    @Override
    public ItemStack getItem(int i) {
        return null;
    }

    @Override
    public void setItem(int i, ItemStack itemStack) {
    }

    @Override
    public HashMap<Integer, ItemStack> addItem(ItemStack... itemStacks) {
        return new HashMap<Integer, ItemStack>();
    }

    @Override
    public HashMap<Integer, ItemStack> removeItem(ItemStack... itemStacks) {
        return new HashMap<Integer, ItemStack>();
    }

    @Override
    public ItemStack[] getContents() {
        return new ItemStack[]{
                new ItemStack(Material.CHEST, 1),
                new ItemStack(Material.AIR, Integer.MAX_VALUE)
        };
    }

    @Override
    public void setContents(ItemStack[] itemStacks) {
    }

    @Override
    public boolean contains(int i) {
        return true;
    }

    @Override
    public boolean contains(Material material) {
        return true;
    }

    @Override
    public boolean contains(ItemStack itemStack) {
        return true;
    }

    @Override
    public boolean contains(int i, int i1) {
        return true;
    }

    @Override
    public boolean contains(Material material, int i) {
        return true;
    }

    @Override
    public boolean contains(ItemStack itemStack, int i) {
        return true;
    }

    @Override
    public boolean containsAtLeast(ItemStack itemStack, int i) {
        return true;
    }

    @Override
    public HashMap<Integer, ? extends ItemStack> all(int i) {
        HashMap<Integer, ItemStack> items = new HashMap<Integer, ItemStack>();
        items.put(1, new ItemStack(i, Integer.MAX_VALUE));

        return items;
    }

    @Override
    public HashMap<Integer, ? extends ItemStack> all(Material material) {
        if (material.getMaxDurability() != 0) {
            HashMap<Integer, ItemStack> items = new HashMap<Integer, ItemStack>();

            for (short currentDurability = 0; currentDurability < material.getMaxDurability(); currentDurability++) {
                items.put((int) currentDurability, new ItemStack(material, Integer.MAX_VALUE, currentDurability));
            }

            return items;
        }

        return all(material.getId());
    }

    @Override
    public HashMap<Integer, ? extends ItemStack> all(ItemStack itemStack) {
        HashMap<Integer, ItemStack> items = new HashMap<Integer, ItemStack>();

        ItemStack clone = itemStack.clone();
        clone.setAmount(Integer.MAX_VALUE);

        items.put(1, clone);

        return items;
    }

    @Override
    public int first(int i) {
        return 0;
    }

    @Override
    public int first(Material material) {
        return 0;
    }

    @Override
    public int first(ItemStack itemStack) {
        return 0;
    }

    @Override
    public int firstEmpty() {
        return 0;
    }

    @Override
    public void remove(int i) {
    }

    @Override
    public void remove(Material material) {
    }

    @Override
    public void remove(ItemStack itemStack) {
    }

    @Override
    public void clear(int i) {
    }

    @Override
    public void clear() {
    }

    @Override
    public List<HumanEntity> getViewers() {
        return new ArrayList<HumanEntity>();
    }

    @Override
    public String getTitle() {
        return "Admin inventory";
    }

    @Override
    public InventoryType getType() {
        return null;
    }

    @Override
    public InventoryHolder getHolder() {
        return null;
    }

    @Override
    public ListIterator<ItemStack> iterator() {
        return null;
    }

    @Override
    public ListIterator<ItemStack> iterator(int i) {
        return null;
    }

    @Override
    public Location getLocation() {
        return null;
    }
}

@@ -1540,32 +1540,247 @@
 tacks) %7B%0A    %7D%0A%0A
+    @Override%0A    public ItemStack%5B%5D getStorageContents() %7B%0A        return new ItemStack%5B0%5D;%0A    %7D%0A%0A    @Override%0A    public void setStorageContents(ItemStack%5B%5D itemStacks) throws IllegalArgumentException %7B%0A%0A    %7D%0A%0A
     @Override%0A  

Implement missing methods so that this compiles without errors