public SnapshotInfo(String path,String prefix,String jvmInfo,int identifierSize,Date creationDate,int numberOfObjects,int numberOfGCRoots,int numberOfClasses,int numberOfClassLoaders,long usedHeapSize){
  this.path=path;
  this.prefix=prefix;
  this.jvmInfo=jvmInfo;
  this.identifierSize=identifierSize;
  this.creationDate=creationDate != null ? new Date(creationDate.getTime()) : null;
  this.numberOfObjects=numberOfObjects;
  this.numberOfGCRoots=numberOfGCRoots;
  this.numberOfClasses=numberOfClasses;
  this.numberOfClassLoaders=numberOfClassLoaders;
  this.usedHeapSize=usedHeapSize;
  this.properties=new HashMap<String,Serializable>();
}

public SnapshotInfo ( String path , String prefix , String jvmInfo , int identifierSize , Date creationDate , int numberOfObjects , int numberOfGCRoots , int numberOfClasses , int numberOfClassLoaders , long usedHeapSize ) { this . path = path ; this . prefix = prefix ; this . jvmInfo = jvmInfo ; this . identifierSize = identifierSize ; this . creationDate = creationDate != null ? new Date ( creationDate . getTime ( ) ) : null ; this . numberOfObjects = numberOfObjects ; this . numberOfGCRoots = numberOfGCRoots ; this . numberOfClasses = numberOfClasses ; this . numberOfClassLoaders = numberOfClassLoaders ; this . usedHeapSize = usedHeapSize ; this . properties = new HashMap < String , Serializable > ( ) ; }
construct a snapshot info .
