public class

CachingActivityMapper

extends Object
implements ActivityMapper
java.lang.Object
   ↳ com.google.gwt.activity.shared.CachingActivityMapper

Class Overview

Wraps another ActivityMapper and caches the last activity it returned, to be re-used if we see the same place twice.

Summary

Public Constructors
CachingActivityMapper(ActivityMapper wrapped)
Constructs a CachingActivityMapper object.
Public Methods
Activity getActivity(Place place)
Returns the activity to run for the given Place, or null.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.google.gwt.activity.shared.ActivityMapper

Public Constructors

public CachingActivityMapper (ActivityMapper wrapped)

Constructs a CachingActivityMapper object.

Parameters
wrapped an ActivityMapper object

Public Methods

public Activity getActivity (Place place)

Returns the activity to run for the given Place, or null.

Parameters
place a Place object