Java Map Put putDataInToMap(String className, String MethodName)

Here you can find the source of putDataInToMap(String className, String MethodName)

Description

put Data In To Map

License

Open Source License

Declaration

private static void putDataInToMap(String className, String MethodName) 

Method Source Code

//package com.java2s;
/**//  www  .  jav  a 2  s .c  o  m
 *  @file   DexterUtilHelper.java
 *  @brief  DexterUtilHelper class source file
 *  @author adarsh.t
 *
* Copyright 2014 by Samsung Electronics, Inc.
* All rights reserved.
* 
* Project Description :
* This software is the confidential and proprietary information
* of Samsung Electronics, Inc. ("Confidential Information").  You
* shall not disclose such Confidential Information and shall use
* it only in accordance with the terms of the license agreement
* you entered into with Samsung Electronics.
*/

import java.util.HashMap;
import java.util.Map;

public class Main {
    private static Map<String, String> mapModuleName = new HashMap<String, String>();

    private static void putDataInToMap(String className, String MethodName) {
        mapModuleName.clear();
        mapModuleName.put("className", className);
        mapModuleName.put("methodName", MethodName);
    }
}

Related

  1. putBoolean(Map properties, Object key, boolean value)
  2. putByFullKey(Map map, String key, Object value)
  3. putCheckedObjectInInnerMap(Map> mapValues, A key, K innerKey, V obj)
  4. putClassToMap(String extensionId, String key, Class className)
  5. putData(Map data, String name, Object value)
  6. putDeepValue(Map map, String keyPath, T v)
  7. putIfAbsent(final Map from, final Map to)
  8. putIfAbsent(Map from, Map to)
  9. putIfAbsent(Map map, K key, V value)