Package com.google.gwt.activity.shared
Class CachingActivityMapper
java.lang.Object
com.google.gwt.activity.shared.CachingActivityMapper
- All Implemented Interfaces:
ActivityMapper
Wraps another
ActivityMapper
and caches the last activity it
returned, to be re-used if we see the same place twice.-
Constructor Summary
ConstructorDescriptionCachingActivityMapper
(ActivityMapper wrapped) Constructs a CachingActivityMapper object. -
Method Summary
Modifier and TypeMethodDescriptiongetActivity
(Place place) Returns the activity to run for the givenPlace
, or null.
-
Constructor Details
-
Method Details