com.supermap.services.util.cache
Class CacheItem
- java.lang.Object
-
- com.supermap.services.util.cache.CacheItem
-
public class CacheItem extends java.lang.ObjectCache item information.
-
-
Field Summary
Fields Modifier and Type Field and Description Rectangle2DboundsThe corresponding range of the image filejava.lang.StringfilePathFile Pathjava.lang.StringhashCodeThe corresponding hash code of the image, which corresponds to the map parameter.doublescaleThe corresponding scale of the image.
-
Constructor Summary
Constructors Constructor and Description CacheItem()
-
-
-
Field Detail
-
filePath
public java.lang.String filePath
File Path
-
bounds
public Rectangle2D bounds
The corresponding range of the image file
-
hashCode
public java.lang.String hashCode
The corresponding hash code of the image, which corresponds to the map parameter.
-
scale
public double scale
The corresponding scale of the image.
-
-
Method Detail
-
toString
public java.lang.String toString()
The conversion from object to string.
- Overrides:
toStringin classjava.lang.Object- Returns:
- Returns the string format of the object.
-
equals
public boolean equals(java.lang.Object otherObj)
Determine whether this object is equal to another.
- Overrides:
equalsin classjava.lang.Object- Parameters:
otherObj- object to be compared.- Returns:
- other object.
-
hashCode
public int hashCode()
Returns the corresponding hash code.
- Overrides:
hashCodein classjava.lang.Object- Returns:
- hash code.
-
-