Example usage for org.apache.commons.collections.map MultiKeyMap clear

List of usage examples for org.apache.commons.collections.map MultiKeyMap clear

Introduction

In this page you can find the example usage for org.apache.commons.collections.map MultiKeyMap clear.

Prototype

public void clear() 

Source Link

Usage

From source file:org.talend.core.repository.ui.actions.DeleteActionCache.java

/**
 * //w w  w. ja  v  a 2s  .  c  om
 * cli Comment method "clearRecords".
 * 
 * revert the original values.
 */
public void clearRecords() {
    List<IProcess2> list = getOpenedProcessList();
    if (list != null) {
        list.clear();
    }
    List<IRepositoryViewObject> listobj = getProcessList();
    if (listobj != null) {
        listobj.clear();
    }
    MultiKeyMap map = getOpenProcessMap();
    if (map != null) {
        map.clear();
    }
    map = getRepositoryObjectMap();
    if (map != null) {
        map.clear();
    }

}

From source file:org.talend.repository.ui.actions.DeleteActionCache.java

/**
 * /*from   w  w  w .j a  va2  s  .c om*/
 * cli Comment method "clearRecords".
 * 
 * revert the original values.
 */
public void clearRecords() {
    List list = getOpenedProcessList();
    if (list != null) {
        list.clear();
    }
    list = getProcessList();
    if (list != null) {
        list.clear();
    }
    MultiKeyMap map = getOpenProcessMap();
    if (map != null) {
        map.clear();
    }
    map = getRepositoryObjectMap();
    if (map != null) {
        map.clear();
    }

}