public class CacheItem
extends java.lang.Object
Cache item information.
Modifier and Type | Field and Description |
---|---|
Rectangle2D |
bounds
The corresponding range of the image file
|
java.lang.String |
filePath
File Path
|
java.lang.String |
hashCode
The corresponding hash code of the image, which corresponds to the map parameter.
|
double |
scale
The corresponding scale of the image.
|
Constructor and Description |
---|
CacheItem() |
public java.lang.String filePath
File Path
public Rectangle2D bounds
The corresponding range of the image file
public java.lang.String hashCode
The corresponding hash code of the image, which corresponds to the map parameter.
public double scale
The corresponding scale of the image.
public java.lang.String toString()
The conversion from object to string.
toString
in class java.lang.Object
public boolean equals(java.lang.Object otherObj)
Determine whether this object is equal to another.
equals
in class java.lang.Object
otherObj
- object to be compared.public int hashCode()
Returns the corresponding hash code.
hashCode
in class java.lang.Object