当前位置: 首页>>代码示例>>Java>>正文


Java HashedMap类代码示例

本文整理汇总了Java中org.apache.commons.collections4.map.HashedMap的典型用法代码示例。如果您正苦于以下问题:Java HashedMap类的具体用法?Java HashedMap怎么用?Java HashedMap使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


HashedMap类属于org.apache.commons.collections4.map包,在下文中一共展示了HashedMap类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: testIterableMap_literalMutation2766

import org.apache.commons.collections4.map.HashedMap; //导入依赖的package包/类
public void testIterableMap_literalMutation2766() {
    fr.inria.diversify.testamplification.logger.Logger.writeTestStart(Thread.currentThread(),this, "testIterableMap_literalMutation2766");
    try {
        org.apache.commons.collections4.MapUtils.iterableMap(null);
    } catch (final IllegalArgumentException e) {
    }
    final HashMap<java.lang.String, java.lang.String> map = new HashMap<java.lang.String, java.lang.String>();
    map.put("foo", "foov");
    map.put("foo", "barv");
    map.put("baz", "bazv");
    final IterableMap<java.lang.String, java.lang.String> iMap = org.apache.commons.collections4.MapUtils.iterableMap(map);
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),7836,map);
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),7837,iMap);
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),7838,map);
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),7839,iMap);
    final HashedMap<java.lang.String, java.lang.String> hMap = new HashedMap<java.lang.String, java.lang.String>(map);
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),7840,hMap);
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),7842,null,7841,org.apache.commons.collections4.MapUtils.iterableMap(hMap));
    fr.inria.diversify.testamplification.logger.Logger.writeTestFinish(Thread.currentThread());
}
 
开发者ID:DIVERSIFY-project,项目名称:sosiefier,代码行数:21,代码来源:MapUtilsTest.java

示例2: getJiraIssues

import org.apache.commons.collections4.map.HashedMap; //导入依赖的package包/类
private Map<String, String> getJiraIssues() throws IOException {
    String queryUrl = jiraApiUrl.concat("/search/?jql=").concat(URLEncoder.encode(jiraJql, CharEncoding.UTF_8).replace("+", "%20"));
    System.out.println("Jira query url: ".concat(queryUrl));

    HttpClient client = HttpClientBuilder.create().build();
    HttpGet request = new HttpGet(queryUrl);

    // add request headers
    for (Map.Entry<String, String> entry : jiraHeaders.entrySet()) {
        request.addHeader(entry.getKey(), entry.getValue());
    }
    request.addHeader("Content-Type", "application/json");
    HttpResponse response = client.execute(request);
    String searchResp = IOUtils.toString(response.getEntity().getContent());
    System.out.println("Jira call response code: " + response.getStatusLine().getStatusCode());
    Map<String, String> issueDescriptionMap = new HashedMap<>();
    List<Map<String, Object>> issues = JsonPath.read(searchResp, "$.issues[*]");
    for (Map<String, Object> issue : issues) {
        String issueId = (String) issue.get("key");
        String description = JsonPath.read(issue.get("fields"), "$.description");
        issueDescriptionMap.put(issueId, description);
    }
    System.out.println("Issues found: ".concat(issueDescriptionMap.keySet().toString()));
    return issueDescriptionMap;
}
 
开发者ID:nacuteodor,项目名称:SearchInJenkinsLogs,代码行数:26,代码来源:ToolArgs.java

示例3: getIssuesLinks

import org.apache.commons.collections4.map.HashedMap; //导入依赖的package包/类
private static String getIssuesLinks(ToolArgs toolArgs, String shortTestName) {
    if (!testsIssuesMap.containsKey(shortTestName)) {
        Map<String, String> issuesMap = new HashedMap<>();
        for (Map.Entry<String, String> issueDescription : toolArgs.issueDescriptionMap.entrySet()) {
            if (issueDescription.getValue().contains(shortTestName)) {
                issuesMap.put(issueDescription.getKey(), toolArgs.jiraUrl.concat("/browse/").concat(issueDescription.getKey()));
            }
        }
        String issuesLinks = "";
        for (Map.Entry<String, String> entry : issuesMap.entrySet()) {
            issuesLinks = issuesLinks.concat("<a href=\"").concat(entry.getValue()).concat("\">").concat(entry.getKey()).concat("</a>&#44;&nbsp;");
        }
        if (!issuesLinks.isEmpty()) {
            issuesLinks = issuesLinks.substring(0, issuesLinks.lastIndexOf("&#44;&nbsp;"));
        }
        testsIssuesMap.put(shortTestName, issuesLinks);
    }
    return testsIssuesMap.get(shortTestName);
}
 
开发者ID:nacuteodor,项目名称:SearchInJenkinsLogs,代码行数:20,代码来源:Main.java

示例4: testIterableMap_add2659

import org.apache.commons.collections4.map.HashedMap; //导入依赖的package包/类
@org.junit.Test(timeout = 1000)
public void testIterableMap_add2659() {
    fr.inria.diversify.testamplification.logger.Logger.writeTestStart(Thread.currentThread(),this, "testIterableMap_add2659");
    try {
        org.apache.commons.collections4.MapUtils.iterableMap(null);
        org.apache.commons.collections4.MapUtils.iterableMap(null);
    } catch (final IllegalArgumentException e) {
    }
    final HashMap<java.lang.String, java.lang.String> map = new HashMap<java.lang.String, java.lang.String>();
    map.put("foo", "foov");
    map.put("bar", "barv");
    map.put("baz", "bazv");
    final IterableMap<java.lang.String, java.lang.String> iMap = org.apache.commons.collections4.MapUtils.iterableMap(map);
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),7836,map);
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),7837,iMap);
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),7838,map);
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),7839,iMap);
    final HashedMap<java.lang.String, java.lang.String> hMap = new HashedMap<java.lang.String, java.lang.String>(map);
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),7840,hMap);
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),7842,null,7841,org.apache.commons.collections4.MapUtils.iterableMap(hMap));
    fr.inria.diversify.testamplification.logger.Logger.writeTestFinish(Thread.currentThread());
}
 
开发者ID:DIVERSIFY-project,项目名称:sosiefier,代码行数:23,代码来源:MapUtilsTest.java

示例5: testIterableMap_add2660

import org.apache.commons.collections4.map.HashedMap; //导入依赖的package包/类
@org.junit.Test(timeout = 1000)
public void testIterableMap_add2660() {
    fr.inria.diversify.testamplification.logger.Logger.writeTestStart(Thread.currentThread(),this, "testIterableMap_add2660");
    try {
        org.apache.commons.collections4.MapUtils.iterableMap(null);
    } catch (final IllegalArgumentException e) {
    }
    final HashMap<java.lang.String, java.lang.String> map = new HashMap<java.lang.String, java.lang.String>();
    map.put("foo", "foov");
    map.put("foo", "foov");
    map.put("bar", "barv");
    map.put("baz", "bazv");
    final IterableMap<java.lang.String, java.lang.String> iMap = org.apache.commons.collections4.MapUtils.iterableMap(map);
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),7836,map);
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),7837,iMap);
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),7838,map);
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),7839,iMap);
    final HashedMap<java.lang.String, java.lang.String> hMap = new HashedMap<java.lang.String, java.lang.String>(map);
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),7840,hMap);
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),7842,null,7841,org.apache.commons.collections4.MapUtils.iterableMap(hMap));
    fr.inria.diversify.testamplification.logger.Logger.writeTestFinish(Thread.currentThread());
}
 
开发者ID:DIVERSIFY-project,项目名称:sosiefier,代码行数:23,代码来源:MapUtilsTest.java

示例6: testIterableMap_add2661

import org.apache.commons.collections4.map.HashedMap; //导入依赖的package包/类
@org.junit.Test(timeout = 1000)
public void testIterableMap_add2661() {
    fr.inria.diversify.testamplification.logger.Logger.writeTestStart(Thread.currentThread(),this, "testIterableMap_add2661");
    try {
        org.apache.commons.collections4.MapUtils.iterableMap(null);
    } catch (final IllegalArgumentException e) {
    }
    final HashMap<java.lang.String, java.lang.String> map = new HashMap<java.lang.String, java.lang.String>();
    map.put("foo", "foov");
    map.put("bar", "barv");
    map.put("bar", "barv");
    map.put("baz", "bazv");
    final IterableMap<java.lang.String, java.lang.String> iMap = org.apache.commons.collections4.MapUtils.iterableMap(map);
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),7836,map);
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),7837,iMap);
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),7838,map);
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),7839,iMap);
    final HashedMap<java.lang.String, java.lang.String> hMap = new HashedMap<java.lang.String, java.lang.String>(map);
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),7840,hMap);
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),7842,null,7841,org.apache.commons.collections4.MapUtils.iterableMap(hMap));
    fr.inria.diversify.testamplification.logger.Logger.writeTestFinish(Thread.currentThread());
}
 
开发者ID:DIVERSIFY-project,项目名称:sosiefier,代码行数:23,代码来源:MapUtilsTest.java

示例7: testIterableMap_add2662

import org.apache.commons.collections4.map.HashedMap; //导入依赖的package包/类
@org.junit.Test(timeout = 1000)
public void testIterableMap_add2662() {
    fr.inria.diversify.testamplification.logger.Logger.writeTestStart(Thread.currentThread(),this, "testIterableMap_add2662");
    try {
        org.apache.commons.collections4.MapUtils.iterableMap(null);
    } catch (final IllegalArgumentException e) {
    }
    final HashMap<java.lang.String, java.lang.String> map = new HashMap<java.lang.String, java.lang.String>();
    map.put("foo", "foov");
    map.put("bar", "barv");
    map.put("baz", "bazv");
    map.put("baz", "bazv");
    final IterableMap<java.lang.String, java.lang.String> iMap = org.apache.commons.collections4.MapUtils.iterableMap(map);
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),7836,map);
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),7837,iMap);
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),7838,map);
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),7839,iMap);
    final HashedMap<java.lang.String, java.lang.String> hMap = new HashedMap<java.lang.String, java.lang.String>(map);
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),7840,hMap);
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),7842,null,7841,org.apache.commons.collections4.MapUtils.iterableMap(hMap));
    fr.inria.diversify.testamplification.logger.Logger.writeTestFinish(Thread.currentThread());
}
 
开发者ID:DIVERSIFY-project,项目名称:sosiefier,代码行数:23,代码来源:MapUtilsTest.java

示例8: testIterableMap

import org.apache.commons.collections4.map.HashedMap; //导入依赖的package包/类
public void testIterableMap() {
    fr.inria.diversify.testamplification.logger.Logger.writeTestStart(Thread.currentThread(),this, "testIterableMap");
    try {
        org.apache.commons.collections4.MapUtils.iterableMap(null);
    } catch (final IllegalArgumentException e) {
    }
    final HashMap<java.lang.String, java.lang.String> map = new HashMap<java.lang.String, java.lang.String>();
    map.put("foo", "foov");
    map.put("bar", "barv");
    map.put("baz", "bazv");
    final IterableMap<java.lang.String, java.lang.String> iMap = org.apache.commons.collections4.MapUtils.iterableMap(map);
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),7836,map);
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),7837,iMap);
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),7838,map);
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),7839,iMap);
    final HashedMap<java.lang.String, java.lang.String> hMap = new HashedMap<java.lang.String, java.lang.String>(map);
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),7840,hMap);
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),7842,null,7841,org.apache.commons.collections4.MapUtils.iterableMap(hMap));
    fr.inria.diversify.testamplification.logger.Logger.writeTestFinish(Thread.currentThread());
}
 
开发者ID:DIVERSIFY-project,项目名称:sosiefier,代码行数:21,代码来源:MapUtilsTest.java

示例9: testIterableMap_literalMutation2765

import org.apache.commons.collections4.map.HashedMap; //导入依赖的package包/类
public void testIterableMap_literalMutation2765() {
    fr.inria.diversify.testamplification.logger.Logger.writeTestStart(Thread.currentThread(),this, "testIterableMap_literalMutation2765");
    try {
        org.apache.commons.collections4.MapUtils.iterableMap(null);
    } catch (final IllegalArgumentException e) {
    }
    final HashMap<java.lang.String, java.lang.String> map = new HashMap<java.lang.String, java.lang.String>();
    map.put("foo", "foo");
    map.put("bar", "barv");
    map.put("baz", "bazv");
    final IterableMap<java.lang.String, java.lang.String> iMap = org.apache.commons.collections4.MapUtils.iterableMap(map);
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),7836,map);
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),7837,iMap);
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),7838,map);
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),7839,iMap);
    final HashedMap<java.lang.String, java.lang.String> hMap = new HashedMap<java.lang.String, java.lang.String>(map);
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),7840,hMap);
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),7842,null,7841,org.apache.commons.collections4.MapUtils.iterableMap(hMap));
    fr.inria.diversify.testamplification.logger.Logger.writeTestFinish(Thread.currentThread());
}
 
开发者ID:DIVERSIFY-project,项目名称:sosiefier,代码行数:21,代码来源:MapUtilsTest.java

示例10: testIterableMap_literalMutation2767

import org.apache.commons.collections4.map.HashedMap; //导入依赖的package包/类
public void testIterableMap_literalMutation2767() {
    fr.inria.diversify.testamplification.logger.Logger.writeTestStart(Thread.currentThread(),this, "testIterableMap_literalMutation2767");
    try {
        org.apache.commons.collections4.MapUtils.iterableMap(null);
    } catch (final IllegalArgumentException e) {
    }
    final HashMap<java.lang.String, java.lang.String> map = new HashMap<java.lang.String, java.lang.String>();
    map.put("foo", "foov");
    map.put("bar", "foo");
    map.put("baz", "bazv");
    final IterableMap<java.lang.String, java.lang.String> iMap = org.apache.commons.collections4.MapUtils.iterableMap(map);
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),7836,map);
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),7837,iMap);
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),7838,map);
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),7839,iMap);
    final HashedMap<java.lang.String, java.lang.String> hMap = new HashedMap<java.lang.String, java.lang.String>(map);
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),7840,hMap);
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),7842,null,7841,org.apache.commons.collections4.MapUtils.iterableMap(hMap));
    fr.inria.diversify.testamplification.logger.Logger.writeTestFinish(Thread.currentThread());
}
 
开发者ID:DIVERSIFY-project,项目名称:sosiefier,代码行数:21,代码来源:MapUtilsTest.java

示例11: testIterableMap_literalMutation2768

import org.apache.commons.collections4.map.HashedMap; //导入依赖的package包/类
public void testIterableMap_literalMutation2768() {
    fr.inria.diversify.testamplification.logger.Logger.writeTestStart(Thread.currentThread(),this, "testIterableMap_literalMutation2768");
    try {
        org.apache.commons.collections4.MapUtils.iterableMap(null);
    } catch (final IllegalArgumentException e) {
    }
    final HashMap<java.lang.String, java.lang.String> map = new HashMap<java.lang.String, java.lang.String>();
    map.put("foo", "foov");
    map.put("bar", "barv");
    map.put("foo", "bazv");
    final IterableMap<java.lang.String, java.lang.String> iMap = org.apache.commons.collections4.MapUtils.iterableMap(map);
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),7836,map);
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),7837,iMap);
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),7838,map);
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),7839,iMap);
    final HashedMap<java.lang.String, java.lang.String> hMap = new HashedMap<java.lang.String, java.lang.String>(map);
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),7840,hMap);
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),7842,null,7841,org.apache.commons.collections4.MapUtils.iterableMap(hMap));
    fr.inria.diversify.testamplification.logger.Logger.writeTestFinish(Thread.currentThread());
}
 
开发者ID:DIVERSIFY-project,项目名称:sosiefier,代码行数:21,代码来源:MapUtilsTest.java

示例12: testIterableMap_literalMutation2769

import org.apache.commons.collections4.map.HashedMap; //导入依赖的package包/类
public void testIterableMap_literalMutation2769() {
    fr.inria.diversify.testamplification.logger.Logger.writeTestStart(Thread.currentThread(),this, "testIterableMap_literalMutation2769");
    try {
        org.apache.commons.collections4.MapUtils.iterableMap(null);
    } catch (final IllegalArgumentException e) {
    }
    final HashMap<java.lang.String, java.lang.String> map = new HashMap<java.lang.String, java.lang.String>();
    map.put("foo", "foov");
    map.put("bar", "barv");
    map.put("baz", "foo");
    final IterableMap<java.lang.String, java.lang.String> iMap = org.apache.commons.collections4.MapUtils.iterableMap(map);
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),7836,map);
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),7837,iMap);
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),7838,map);
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),7839,iMap);
    final HashedMap<java.lang.String, java.lang.String> hMap = new HashedMap<java.lang.String, java.lang.String>(map);
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),7840,hMap);
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),7842,null,7841,org.apache.commons.collections4.MapUtils.iterableMap(hMap));
    fr.inria.diversify.testamplification.logger.Logger.writeTestFinish(Thread.currentThread());
}
 
开发者ID:DIVERSIFY-project,项目名称:sosiefier,代码行数:21,代码来源:MapUtilsTest.java

示例13: testIterableMap_remove2104

import org.apache.commons.collections4.map.HashedMap; //导入依赖的package包/类
@org.junit.Test(timeout = 1000)
public void testIterableMap_remove2104() {
    fr.inria.diversify.testamplification.logger.Logger.writeTestStart(Thread.currentThread(),this, "testIterableMap_remove2104");
    try {
        org.apache.commons.collections4.MapUtils.iterableMap(null);
    } catch (final IllegalArgumentException e) {
    }
    final HashMap<java.lang.String, java.lang.String> map = new HashMap<java.lang.String, java.lang.String>();
    map.put("bar", "barv");
    map.put("baz", "bazv");
    final IterableMap<java.lang.String, java.lang.String> iMap = org.apache.commons.collections4.MapUtils.iterableMap(map);
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),7836,map);
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),7837,iMap);
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),7838,map);
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),7839,iMap);
    final HashedMap<java.lang.String, java.lang.String> hMap = new HashedMap<java.lang.String, java.lang.String>(map);
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),7840,hMap);
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),7842,null,7841,org.apache.commons.collections4.MapUtils.iterableMap(hMap));
    fr.inria.diversify.testamplification.logger.Logger.writeTestFinish(Thread.currentThread());
}
 
开发者ID:DIVERSIFY-project,项目名称:sosiefier,代码行数:21,代码来源:MapUtilsTest.java

示例14: testIterableMap_remove2105

import org.apache.commons.collections4.map.HashedMap; //导入依赖的package包/类
@org.junit.Test(timeout = 1000)
public void testIterableMap_remove2105() {
    fr.inria.diversify.testamplification.logger.Logger.writeTestStart(Thread.currentThread(),this, "testIterableMap_remove2105");
    try {
        org.apache.commons.collections4.MapUtils.iterableMap(null);
    } catch (final IllegalArgumentException e) {
    }
    final HashMap<java.lang.String, java.lang.String> map = new HashMap<java.lang.String, java.lang.String>();
    map.put("bar", "barv");
    map.put("baz", "bazv");
    final IterableMap<java.lang.String, java.lang.String> iMap = org.apache.commons.collections4.MapUtils.iterableMap(map);
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),7836,map);
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),7837,iMap);
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),7838,map);
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),7839,iMap);
    final HashedMap<java.lang.String, java.lang.String> hMap = new HashedMap<java.lang.String, java.lang.String>(map);
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),7840,hMap);
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),7842,null,7841,org.apache.commons.collections4.MapUtils.iterableMap(hMap));
    fr.inria.diversify.testamplification.logger.Logger.writeTestFinish(Thread.currentThread());
}
 
开发者ID:DIVERSIFY-project,项目名称:sosiefier,代码行数:21,代码来源:MapUtilsTest.java

示例15: testIterableMap_remove2106

import org.apache.commons.collections4.map.HashedMap; //导入依赖的package包/类
@org.junit.Test(timeout = 1000)
public void testIterableMap_remove2106() {
    fr.inria.diversify.testamplification.logger.Logger.writeTestStart(Thread.currentThread(),this, "testIterableMap_remove2106");
    try {
        org.apache.commons.collections4.MapUtils.iterableMap(null);
    } catch (final IllegalArgumentException e) {
    }
    final HashMap<java.lang.String, java.lang.String> map = new HashMap<java.lang.String, java.lang.String>();
    map.put("bar", "barv");
    map.put("baz", "bazv");
    final IterableMap<java.lang.String, java.lang.String> iMap = org.apache.commons.collections4.MapUtils.iterableMap(map);
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),7836,map);
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),7837,iMap);
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),7838,map);
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),7839,iMap);
    final HashedMap<java.lang.String, java.lang.String> hMap = new HashedMap<java.lang.String, java.lang.String>(map);
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),7840,hMap);
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),7842,null,7841,org.apache.commons.collections4.MapUtils.iterableMap(hMap));
    fr.inria.diversify.testamplification.logger.Logger.writeTestFinish(Thread.currentThread());
}
 
开发者ID:DIVERSIFY-project,项目名称:sosiefier,代码行数:21,代码来源:MapUtilsTest.java


注:本文中的org.apache.commons.collections4.map.HashedMap类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。