Package org.apache.roller.pojos

Examples of org.apache.roller.pojos.WeblogEntryComparator


        // ensure we do not get duplicates from Lucene by
        // using a Set Collection.  Entries sorted by pubTime.
        TreeSet set = (TreeSet) searchResults.get(midnight);
        if (set == null) {
            // date is not mapped yet, so we need a new Set
            set = new TreeSet( new WeblogEntryComparator() );
            searchResults.put(midnight, set);
        }
        set.add(entry);
    }
View Full Code Here

TOP

Related Classes of org.apache.roller.pojos.WeblogEntryComparator

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.