protected static class AbstractSurfaceObject.SurfaceObjectStateKey extends java.lang.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(java.lang.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 boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic long getSizeInBytes()
getSizeInBytes in interface Cacheablepublic int hashCode()
hashCode in class java.lang.Object