mirror of
				https://github.com/LamGC/ContentGrabbingJi.git
				synced 2025-11-04 02:26:57 +00:00 
			
		
		
		
	[Add] 增加toString方法的覆写, 以提供快速输出对象详情的功能;
This commit is contained in:
		@ -54,4 +54,13 @@ public class ImageCacheObject implements EventObject {
 | 
			
		||||
    public int hashCode() {
 | 
			
		||||
        return Objects.hash(imageCache, illustId, downloadLink, storeFile);
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    @Override
 | 
			
		||||
    public String toString() {
 | 
			
		||||
        return "ImageCacheObject@" + Integer.toHexString(hashCode()) + "{" +
 | 
			
		||||
                "illustId=" + illustId +
 | 
			
		||||
                ", downloadLink='" + downloadLink + '\'' +
 | 
			
		||||
                ", storeFile=" + storeFile +
 | 
			
		||||
                '}';
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user