final class NearbyPointsTouchFilter extends java.lang.Object implements TouchFilter
Modifier and Type | Field and Description |
---|---|
private int |
radius |
PRIORITY_ID, PRIORITY_POST_ID, PRIORITY_PRE_ID
Constructor and Description |
---|
NearbyPointsTouchFilter() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
boolean |
filter(TouchState state)
Filters a touch state
|
boolean |
flush(TouchState state)
Flushes this filter's state.
|
int |
getPriority()
Gets the priority of this touch filter.
|
int |
hashCode() |
private boolean |
mergeClosestPoints(TouchState state) |
java.lang.String |
toString() |
public int getPriority()
TouchFilter
getPriority
in interface TouchFilter
public boolean filter(TouchState state)
TouchFilter
filter
in interface TouchFilter
state
- The new state to be filtered or modifiedprivate boolean mergeClosestPoints(TouchState state)
public boolean flush(TouchState state)
TouchFilter
flush
in interface TouchFilter
state
- a TouchState object to be filled in by the filterpublic boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object