|
GWT 2.7.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.google.gwt.activity.shared.CachingActivityMapper
public class CachingActivityMapper
Wraps another ActivityMapper
and caches the last activity it
returned, to be re-used if we see the same place twice.
Constructor Summary | |
---|---|
CachingActivityMapper(ActivityMapper wrapped)
Constructs a CachingActivityMapper object. |
Method Summary | |
---|---|
Activity |
getActivity(Place place)
Returns the activity to run for the given Place , or null. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CachingActivityMapper(ActivityMapper wrapped)
wrapped
- an ActivityMapper objectMethod Detail |
---|
public Activity getActivity(Place place)
ActivityMapper
Place
, or null.
getActivity
in interface ActivityMapper
place
- a Place object
|
GWT 2.7.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |