Package net.sourceforge.pebble.comparator

Examples of net.sourceforge.pebble.comparator.SearchHitByDateComparator


  /**
   * Sorts the search results by date, in reverse order.
   */
  public void sortByDateDescending() {
    Collections.sort(hits, new SearchHitByDateComparator());

    int number = 1;
    Iterator it = hits.iterator();
    while (it.hasNext()) {
      SearchHit hit = (SearchHit)it.next();
View Full Code Here

TOP

Related Classes of net.sourceforge.pebble.comparator.SearchHitByDateComparator

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.