class ChangeLogSet {

   public List<ChangeLog> prune(Version version) {
      if(version == null) {
         return changeLogs;
      }

      Iterator<ChangeLog> iterator = this.changeLogs.iterator();
      while(iterator.hasNext()) {
         ChangeLog changelog = iterator.next();
         Version changeLogVersion = Version.valueOf(changelog.getVersion());
         if(changeLogVersion.compareTo(version) <= 0) {
            iterator.remove();
         }
      }

      return changeLogs;
   }

   public  ChangeLogSet(List<ChangeLog> changeLogs);

}