protected static class AbstractSurfaceObject.SurfaceObjectStateKey extends Object implements Cacheable
Modifier and Type | Field and Description |
---|---|
protected long |
modifiedTime
The SurfaceObject's modified time.
|
protected long |
uniqueId
The SurfaceObject's unique ID.
|
Constructor and Description |
---|
SurfaceObjectStateKey(long uniqueId,
long modifiedTime)
Constructs a new SurfaceObjectStateKey with the specified unique ID and modified time.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
long |
getSizeInBytes()
Returns the state key's size in bytes.
|
int |
hashCode() |
protected final long modifiedTime
protected final long uniqueId
public SurfaceObjectStateKey(long uniqueId, long modifiedTime)
uniqueId
- the SurfaceObject's unique ID.modifiedTime
- the SurfaceObject's modified time.public long getSizeInBytes()
getSizeInBytes
in interface Cacheable