// Path: src/main/java/com/chickling/kmanager/model/OffsetPoints.java
// public class OffsetPoints {
//   private Long timestamp;
//   private Integer partition;
//   private String owner;
//   private Long offset;
//   private Long logSize;
// 
//   public OffsetPoints() {
//     super();
//   }
// 
//   public OffsetPoints(Long timestamp, Integer partition, String owner, Long offset, Long logSize) {
//     super();
//     this.timestamp = timestamp;
//     this.partition = partition;
//     this.owner = owner;
//     this.offset = offset;
//     this.logSize = logSize;
//   }
// 
//   public Long getTimestamp() {
//     return timestamp;
//   }
// 
//   public void setTimestamp(Long timestamp) {
//     this.timestamp = timestamp;
//   }
// 
//   public Integer getPartition() {
//     return partition;
//   }
// 
//   public void setPartition(Integer partition) {
//     this.partition = partition;
//   }
// 
//   public String getOwner() {
//     return owner;
//   }
// 
//   public void setOwner(String owner) {
//     this.owner = owner;
//   }
// 
//   public Long getOffset() {
//     return offset;
//   }
// 
//   public void setOffset(Long offset) {
//     this.offset = offset;
//   }
// 
//   public Long getLogSize() {
//     return logSize;
//   }
// 
//   public void setLogSize(Long logSize) {
//     this.logSize = logSize;
//   }
// 
//   @Override
//   public String toString() {
//     return "OffsetPoints [timestamp=" + timestamp + ", partition=" + partition + ", owner=" + owner + ", offset=" + offset + ", logSize="
//         + logSize + "]";
//   }
// 
// 
// }


import java.io.File;
import java.net.URI;
import java.net.URL;
import java.nio.file.Files;
import java.nio.file.Paths;
import java.util.Collections;
import java.util.Comparator;
import java.util.List;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.chickling.kmanager.model.OffsetPoints;
package com.chickling.kmanager.utils;




/**
 * @author Hulva Luva.H
 *
 */
public class CommonUtils {
	private static Logger LOG = LoggerFactory.getLogger(CommonUtils.class);

// Path: src/main/java/com/chickling/kmanager/model/OffsetPoints.java
// public class OffsetPoints {
//   private Long timestamp;
//   private Integer partition;
//   private String owner;
//   private Long offset;
//   private Long logSize;
// 
//   public OffsetPoints() {
//     super();
//   }
// 
//   public OffsetPoints(Long timestamp, Integer partition, String owner, Long offset, Long logSize) {
//     super();
//     this.timestamp = timestamp;
//     this.partition = partition;
//     this.owner = owner;
//     this.offset = offset;
//     this.logSize = logSize;
//   }
// 
//   public Long getTimestamp() {
//     return timestamp;
//   }
// 
//   public void setTimestamp(Long timestamp) {
//     this.timestamp = timestamp;
//   }
// 
//   public Integer getPartition() {
//     return partition;
//   }
// 
//   public void setPartition(Integer partition) {
//     this.partition = partition;
//   }
// 
//   public String getOwner() {
//     return owner;
//   }
// 
//   public void setOwner(String owner) {
//     this.owner = owner;
//   }
// 
//   public Long getOffset() {
//     return offset;
//   }
// 
//   public void setOffset(Long offset) {
//     this.offset = offset;
//   }
// 
//   public Long getLogSize() {
//     return logSize;
//   }
// 
//   public void setLogSize(Long logSize) {
//     this.logSize = logSize;
//   }
// 
//   @Override
//   public String toString() {
//     return "OffsetPoints [timestamp=" + timestamp + ", partition=" + partition + ", owner=" + owner + ", offset=" + offset + ", logSize="
//         + logSize + "]";
//   }
// 
// 
// }


// Path: src/main/java/com/chickling/kmanager/utils/CommonUtils.java
import java.io.File;
import java.net.URI;
import java.net.URL;
import java.nio.file.Files;
import java.nio.file.Paths;
import java.util.Collections;
import java.util.Comparator;
import java.util.List;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.chickling.kmanager.model.OffsetPoints;

package com.chickling.kmanager.utils;




/**
 * @author Hulva Luva.H
 *
 */
public class CommonUtils {
	private static Logger LOG = LoggerFactory.getLogger(CommonUtils.class);

	public static void sortByTimestampThenPartition(List<OffsetPoints> offsetPointsList) {