private static class Scene.TouchMap
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
(package private) int |
active |
(package private) int |
counter |
private static int |
FAST_THRESHOLD |
(package private) int[] |
fastMap |
(package private) java.util.List<java.lang.Integer> |
order |
(package private) java.util.List<java.lang.Long> |
removed |
(package private) java.util.Map<java.lang.Long,java.lang.Integer> |
slowMap |
Modifier | Constructor and Description |
---|---|
private |
TouchMap() |
Modifier and Type | Method and Description |
---|---|
int |
add(long id) |
boolean |
cleanup() |
int |
get(long id) |
int |
getOrder(int id) |
void |
remove(long id) |
private static final int FAST_THRESHOLD
int[] fastMap
java.util.Map<java.lang.Long,java.lang.Integer> slowMap
java.util.List<java.lang.Integer> order
java.util.List<java.lang.Long> removed
int counter
int active