public function display(
        SwatHtmlHeadEntrySet $set,
        $uri_prefix = '',
        $tag = null,
        $combine = false,
        $minify = false
    ) {
        // clone set so displaying doesn't modify it
        $set = clone $set;

        $entries = $set->toArray();

        // combine files
        if ($combine) {
            $info = $this->getCombinedEntries($entries);
            $entries = $info['entries'];
            $uris = $info['superset'];
        } else {
            $uris = array_keys($entries);
        }

        // check for conflicts in the displayed set
        $this->checkForConflicts($uris);

        // sort
        $entries = $this->getSortedEntries($entries);

        // display entries
        $current_type = null;
        foreach ($entries as $entry) {
            if ($this->compareTypes($current_type, $entry->getType()) !== 0) {
                $current_type = $entry->getType();
                echo "\n";
            }

            echo "\t";

            $prefix = $uri_prefix;

            if ($minify && $this->concentrator->isMinified($entry->getUri())) {
                $prefix = $prefix . 'min/';
            }

            if ($entry->getType() === 'SwatLessStyleSheetHtmlHeadEntry') {
                $prefix = $prefix . 'compiled/';
                $entry = $entry->getStyleSheetHeadEntry();
            }

            $entry->display($prefix, $tag);
            echo "\n";
        }

        echo "\n";
    }