public class TileData
extends java.lang.Object
限定符和类型 | 字段和说明 |
---|---|
protected boolean |
swigCMemOwn |
构造器和说明 |
---|
TileData(BinaryData data)
Constructs a TileData object from a data blob.
|
TileData(long cPtr,
boolean cMemoryOwn) |
限定符和类型 | 方法和说明 |
---|---|
void |
delete() |
boolean |
equals(java.lang.Object obj)
Checks if this object is equal to the specified object.
|
protected void |
finalize() |
static long |
getCPtr(TileData obj) |
BinaryData |
getData()
Returns tile data as binary data.
|
long |
getMaxAge()
Returns the maximum age of the tile data, tile data will expire after that point.
|
int |
hashCode()
Returns the hash value of this object.
|
boolean |
isReplaceWithParent()
Returns true if the tile should be replaced with parent tile.
|
void |
setMaxAge(long maxAge)
Sets the maximum age of tile data, tile data will expire after that point.
|
void |
setReplaceWithParent(boolean flag)
Set the parent replacement flag.
|
public TileData(long cPtr, boolean cMemoryOwn)
public TileData(BinaryData data)
data
- The source tile data.public static long getCPtr(TileData obj)
protected void finalize()
finalize
在类中 java.lang.Object
public void delete()
public boolean equals(java.lang.Object obj)
equals
在类中 java.lang.Object
obj
- The reference object.public int hashCode()
hashCode
在类中 java.lang.Object
public long getMaxAge()
public void setMaxAge(long maxAge)
maxAge
- Tile data maximum age in milliseconds, or -1 if the data does not expire.public boolean isReplaceWithParent()
public void setReplaceWithParent(boolean flag)
flag
- True when the tile should be replaced with the parent, false otherwise.public BinaryData getData()