Code example for WeakHashMap

Methods: clear

0
        mNativeMenu.removeGroup(groupId);
    } 
 
    @Override 
    public void clear() { 
        mNativeMap.clear();
        mNativeMenu.clear();
    } 
 
    @Override 
    public void setGroupCheckable(int group, boolean checkable, boolean exclusive) {
        mNativeMenu.setGroupCheckable(group, checkable, exclusive);
    } 
 
    @Override 
    public void setGroupVisible(int group, boolean visible) {
        mNativeMenu.setGroupVisible(group, visible);
    } 
 
    @Override 
    public void setGroupEnabled(int group, boolean enabled) {