Package com.projity.algorithm

Examples of com.projity.algorithm.Merge


* @param mergeWorking : if true, then matching occurs if the periods hava non-zero work, otherwise the work
* must be an exact match.
*/
  public void forEachWorkingInterval(Closure visitor, boolean mergeWorking, WorkCalendar workCalendar) {
    Comparator comparator = (mergeWorking ? null : WorkComparator.getInstance());   // if a value of null is used , then the bars will be grouped based on time only
    Merge merge =  Merge.getInstance(visitor, comparator);
    Query.getInstance().groupBy(contourGeneratorInstance(WORK))
              .action(merge)
              .execute();
  }
View Full Code Here

TOP

Related Classes of com.projity.algorithm.Merge

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.