Code example for Map

Methods: getremove

mAddonCallbacks.put(zipFile, addonCallbacks);
    private void unregisterCallbacks(String zipFile) {
        Map<String, GeckoEventListener> callbacks = mAddonCallbacks.remove(zipFile);
        if (callbacks == null) {
            Log.w(LOGTAG, "Attempting to unregister callbacks from zipfile [" + zipFile + "] which has no callbacks registered.");
        for (String event : callbacks.keySet()) {
            mDispatcher.unregisterEventListener(event, callbacks.get(event));
    private static class CallbackWrapper implements GeckoEventResponder { 
        private final Handler.Callback mDelegate;
        private Bundle mBundle;
        CallbackWrapper(Handler.Callback delegate) {
Stop searching for code, let great code find you!  Add Codota to your java IDE