Package org.archive.wayback.util.partition

Examples of org.archive.wayback.util.partition.PartitionSize


      Partition<CaptureSearchResult> month) {
    CaptureSearchResultPartitionMap map =
      new CaptureSearchResultPartitionMap();
    Partitioner<CaptureSearchResult> partitioner =
      new Partitioner<CaptureSearchResult>(map);
    PartitionSize daySize = Partitioner.daySize;
    List<Partition<CaptureSearchResult>> days = partitioner.getRange(daySize,
        month.getStart(), month.getEnd());
    partitioner.populate(days, month.iterator());
    return days;
  }
View Full Code Here

TOP

Related Classes of org.archive.wayback.util.partition.PartitionSize

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.