public HashMap<String, Disc> asHash() {
    	LOGGER.log(Level.INFO, "Generating hash representation for bag " + this.hashCode());
    	HashMap<String, Disc> hash = new HashMap<String, Disc>();

        Iterator<Disc> i = discs.iterator();
        while (i.hasNext()) {
            Disc disc = i.next();
            hash.put(disc.getName(), disc);
        }

        return hash;
    }