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


Java MultiMap类代码示例

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


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

示例1: testPutAll_Map1_add487

import org.apache.commons.collections4.MultiMap; //导入依赖的package包/类
@SuppressWarnings(value = "unchecked")
@Test(timeout = 1000)
public void testPutAll_Map1_add487() {
    fr.inria.diversify.testamplification.logger.Logger.writeTestStart(Thread.currentThread(),this, "testPutAll_Map1_add487");
    final MultiMap<K, V> original = new MultiValueMap<K, V>();
    original.put(((K)("key")), "object1");
    original.put(((K)("key")), "object1");
    original.put(((K)("key")), "object2");
    final MultiValueMap<K, V> test = new MultiValueMap<K, V>();
    test.put(((K)("keyA")), "objectA");
    test.put(((K)("key")), "object0");
    test.putAll(original);
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),1545,test,1544,test.size());
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),1547,test,1546,test.totalSize());
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),1549,test.getCollection("keyA"),1548,test.getCollection("keyA").size());
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),1551,test.getCollection("key"),1550,test.getCollection("key").size());
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),1553,test,1552,test.containsValue("objectA"));
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),1555,test,1554,test.containsValue("object0"));
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),1557,test,1556,test.containsValue("object1"));
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),1559,test,1558,test.containsValue("object2"));
    fr.inria.diversify.testamplification.logger.Logger.writeTestFinish(Thread.currentThread());
}
 
开发者ID:DIVERSIFY-project,项目名称:sosiefier,代码行数:23,代码来源:MultiValueMapTest.java

示例2: testPutAll_Map1_add488

import org.apache.commons.collections4.MultiMap; //导入依赖的package包/类
@SuppressWarnings(value = "unchecked")
@Test(timeout = 1000)
public void testPutAll_Map1_add488() {
    fr.inria.diversify.testamplification.logger.Logger.writeTestStart(Thread.currentThread(),this, "testPutAll_Map1_add488");
    final MultiMap<K, V> original = new MultiValueMap<K, V>();
    original.put(((K)("key")), "object1");
    original.put(((K)("key")), "object2");
    original.put(((K)("key")), "object2");
    final MultiValueMap<K, V> test = new MultiValueMap<K, V>();
    test.put(((K)("keyA")), "objectA");
    test.put(((K)("key")), "object0");
    test.putAll(original);
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),1545,test,1544,test.size());
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),1547,test,1546,test.totalSize());
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),1549,test.getCollection("keyA"),1548,test.getCollection("keyA").size());
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),1551,test.getCollection("key"),1550,test.getCollection("key").size());
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),1553,test,1552,test.containsValue("objectA"));
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),1555,test,1554,test.containsValue("object0"));
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),1557,test,1556,test.containsValue("object1"));
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),1559,test,1558,test.containsValue("object2"));
    fr.inria.diversify.testamplification.logger.Logger.writeTestFinish(Thread.currentThread());
}
 
开发者ID:DIVERSIFY-project,项目名称:sosiefier,代码行数:23,代码来源:MultiValueMapTest.java

示例3: testPutAll_Map1_add489

import org.apache.commons.collections4.MultiMap; //导入依赖的package包/类
@SuppressWarnings(value = "unchecked")
@Test(timeout = 1000)
public void testPutAll_Map1_add489() {
    fr.inria.diversify.testamplification.logger.Logger.writeTestStart(Thread.currentThread(),this, "testPutAll_Map1_add489");
    final MultiMap<K, V> original = new MultiValueMap<K, V>();
    original.put(((K)("key")), "object1");
    original.put(((K)("key")), "object2");
    final MultiValueMap<K, V> test = new MultiValueMap<K, V>();
    test.put(((K)("keyA")), "objectA");
    test.put(((K)("keyA")), "objectA");
    test.put(((K)("key")), "object0");
    test.putAll(original);
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),1545,test,1544,test.size());
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),1547,test,1546,test.totalSize());
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),1549,test.getCollection("keyA"),1548,test.getCollection("keyA").size());
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),1551,test.getCollection("key"),1550,test.getCollection("key").size());
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),1553,test,1552,test.containsValue("objectA"));
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),1555,test,1554,test.containsValue("object0"));
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),1557,test,1556,test.containsValue("object1"));
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),1559,test,1558,test.containsValue("object2"));
    fr.inria.diversify.testamplification.logger.Logger.writeTestFinish(Thread.currentThread());
}
 
开发者ID:DIVERSIFY-project,项目名称:sosiefier,代码行数:23,代码来源:MultiValueMapTest.java

示例4: testPutAll_Map1_add490

import org.apache.commons.collections4.MultiMap; //导入依赖的package包/类
@SuppressWarnings(value = "unchecked")
@Test(timeout = 1000)
public void testPutAll_Map1_add490() {
    fr.inria.diversify.testamplification.logger.Logger.writeTestStart(Thread.currentThread(),this, "testPutAll_Map1_add490");
    final MultiMap<K, V> original = new MultiValueMap<K, V>();
    original.put(((K)("key")), "object1");
    original.put(((K)("key")), "object2");
    final MultiValueMap<K, V> test = new MultiValueMap<K, V>();
    test.put(((K)("keyA")), "objectA");
    test.put(((K)("key")), "object0");
    test.put(((K)("key")), "object0");
    test.putAll(original);
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),1545,test,1544,test.size());
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),1547,test,1546,test.totalSize());
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),1549,test.getCollection("keyA"),1548,test.getCollection("keyA").size());
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),1551,test.getCollection("key"),1550,test.getCollection("key").size());
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),1553,test,1552,test.containsValue("objectA"));
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),1555,test,1554,test.containsValue("object0"));
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),1557,test,1556,test.containsValue("object1"));
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),1559,test,1558,test.containsValue("object2"));
    fr.inria.diversify.testamplification.logger.Logger.writeTestFinish(Thread.currentThread());
}
 
开发者ID:DIVERSIFY-project,项目名称:sosiefier,代码行数:23,代码来源:MultiValueMapTest.java

示例5: testPutAll_Map1_add491

import org.apache.commons.collections4.MultiMap; //导入依赖的package包/类
@SuppressWarnings(value = "unchecked")
@Test(timeout = 1000)
public void testPutAll_Map1_add491() {
    fr.inria.diversify.testamplification.logger.Logger.writeTestStart(Thread.currentThread(),this, "testPutAll_Map1_add491");
    final MultiMap<K, V> original = new MultiValueMap<K, V>();
    original.put(((K)("key")), "object1");
    original.put(((K)("key")), "object2");
    final MultiValueMap<K, V> test = new MultiValueMap<K, V>();
    test.put(((K)("keyA")), "objectA");
    test.put(((K)("key")), "object0");
    test.putAll(original);
    test.putAll(original);
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),1545,test,1544,test.size());
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),1547,test,1546,test.totalSize());
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),1549,test.getCollection("keyA"),1548,test.getCollection("keyA").size());
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),1551,test.getCollection("key"),1550,test.getCollection("key").size());
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),1553,test,1552,test.containsValue("objectA"));
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),1555,test,1554,test.containsValue("object0"));
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),1557,test,1556,test.containsValue("object1"));
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),1559,test,1558,test.containsValue("object2"));
    fr.inria.diversify.testamplification.logger.Logger.writeTestFinish(Thread.currentThread());
}
 
开发者ID:DIVERSIFY-project,项目名称:sosiefier,代码行数:23,代码来源:MultiValueMapTest.java

示例6: testPutAll_Map1

import org.apache.commons.collections4.MultiMap; //导入依赖的package包/类
@SuppressWarnings(value = "unchecked")
public void testPutAll_Map1() {
    fr.inria.diversify.testamplification.logger.Logger.writeTestStart(Thread.currentThread(),this, "testPutAll_Map1");
    final MultiMap<K, V> original = new MultiValueMap<K, V>();
    original.put(((K)("key")), "object1");
    original.put(((K)("key")), "object2");
    final MultiValueMap<K, V> test = new MultiValueMap<K, V>();
    test.put(((K)("keyA")), "objectA");
    test.put(((K)("key")), "object0");
    test.putAll(original);
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),1545,test,1544,test.size());
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),1547,test,1546,test.totalSize());
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),1549,test.getCollection("keyA"),1548,test.getCollection("keyA").size());
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),1551,test.getCollection("key"),1550,test.getCollection("key").size());
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),1553,test,1552,test.containsValue("objectA"));
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),1555,test,1554,test.containsValue("object0"));
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),1557,test,1556,test.containsValue("object1"));
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),1559,test,1558,test.containsValue("object2"));
    fr.inria.diversify.testamplification.logger.Logger.writeTestFinish(Thread.currentThread());
}
 
开发者ID:DIVERSIFY-project,项目名称:sosiefier,代码行数:21,代码来源:MultiValueMapTest.java

示例7: testPutAll_Map1_literalMutation423

import org.apache.commons.collections4.MultiMap; //导入依赖的package包/类
@SuppressWarnings(value = "unchecked")
public void testPutAll_Map1_literalMutation423() {
    fr.inria.diversify.testamplification.logger.Logger.writeTestStart(Thread.currentThread(),this, "testPutAll_Map1_literalMutation423");
    final MultiMap<K, V> original = new MultiValueMap<K, V>();
    original.put(((K)("foo")), "object1");
    original.put(((K)("key")), "object2");
    final MultiValueMap<K, V> test = new MultiValueMap<K, V>();
    test.put(((K)("keyA")), "objectA");
    test.put(((K)("key")), "object0");
    test.putAll(original);
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),1545,test,1544,test.size());
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),1547,test,1546,test.totalSize());
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),1549,test.getCollection("keyA"),1548,test.getCollection("keyA").size());
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),1551,test.getCollection("key"),1550,test.getCollection("key").size());
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),1553,test,1552,test.containsValue("objectA"));
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),1555,test,1554,test.containsValue("object0"));
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),1557,test,1556,test.containsValue("object1"));
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),1559,test,1558,test.containsValue("object2"));
    fr.inria.diversify.testamplification.logger.Logger.writeTestFinish(Thread.currentThread());
}
 
开发者ID:DIVERSIFY-project,项目名称:sosiefier,代码行数:21,代码来源:MultiValueMapTest.java

示例8: testPutAll_Map1_literalMutation424

import org.apache.commons.collections4.MultiMap; //导入依赖的package包/类
@SuppressWarnings(value = "unchecked")
public void testPutAll_Map1_literalMutation424() {
    fr.inria.diversify.testamplification.logger.Logger.writeTestStart(Thread.currentThread(),this, "testPutAll_Map1_literalMutation424");
    final MultiMap<K, V> original = new MultiValueMap<K, V>();
    original.put(((K)("key")), "foo");
    original.put(((K)("key")), "object2");
    final MultiValueMap<K, V> test = new MultiValueMap<K, V>();
    test.put(((K)("keyA")), "objectA");
    test.put(((K)("key")), "object0");
    test.putAll(original);
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),1545,test,1544,test.size());
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),1547,test,1546,test.totalSize());
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),1549,test.getCollection("keyA"),1548,test.getCollection("keyA").size());
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),1551,test.getCollection("key"),1550,test.getCollection("key").size());
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),1553,test,1552,test.containsValue("objectA"));
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),1555,test,1554,test.containsValue("object0"));
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),1557,test,1556,test.containsValue("object1"));
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),1559,test,1558,test.containsValue("object2"));
    fr.inria.diversify.testamplification.logger.Logger.writeTestFinish(Thread.currentThread());
}
 
开发者ID:DIVERSIFY-project,项目名称:sosiefier,代码行数:21,代码来源:MultiValueMapTest.java

示例9: testPutAll_Map1_literalMutation425

import org.apache.commons.collections4.MultiMap; //导入依赖的package包/类
@SuppressWarnings(value = "unchecked")
public void testPutAll_Map1_literalMutation425() {
    fr.inria.diversify.testamplification.logger.Logger.writeTestStart(Thread.currentThread(),this, "testPutAll_Map1_literalMutation425");
    final MultiMap<K, V> original = new MultiValueMap<K, V>();
    original.put(((K)("key")), "object1");
    original.put(((K)("foo")), "object2");
    final MultiValueMap<K, V> test = new MultiValueMap<K, V>();
    test.put(((K)("keyA")), "objectA");
    test.put(((K)("key")), "object0");
    test.putAll(original);
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),1545,test,1544,test.size());
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),1547,test,1546,test.totalSize());
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),1549,test.getCollection("keyA"),1548,test.getCollection("keyA").size());
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),1551,test.getCollection("key"),1550,test.getCollection("key").size());
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),1553,test,1552,test.containsValue("objectA"));
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),1555,test,1554,test.containsValue("object0"));
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),1557,test,1556,test.containsValue("object1"));
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),1559,test,1558,test.containsValue("object2"));
    fr.inria.diversify.testamplification.logger.Logger.writeTestFinish(Thread.currentThread());
}
 
开发者ID:DIVERSIFY-project,项目名称:sosiefier,代码行数:21,代码来源:MultiValueMapTest.java

示例10: testPutAll_Map1_literalMutation426

import org.apache.commons.collections4.MultiMap; //导入依赖的package包/类
@SuppressWarnings(value = "unchecked")
public void testPutAll_Map1_literalMutation426() {
    fr.inria.diversify.testamplification.logger.Logger.writeTestStart(Thread.currentThread(),this, "testPutAll_Map1_literalMutation426");
    final MultiMap<K, V> original = new MultiValueMap<K, V>();
    original.put(((K)("key")), "object1");
    original.put(((K)("key")), "foo");
    final MultiValueMap<K, V> test = new MultiValueMap<K, V>();
    test.put(((K)("keyA")), "objectA");
    test.put(((K)("key")), "object0");
    test.putAll(original);
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),1545,test,1544,test.size());
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),1547,test,1546,test.totalSize());
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),1549,test.getCollection("keyA"),1548,test.getCollection("keyA").size());
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),1551,test.getCollection("key"),1550,test.getCollection("key").size());
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),1553,test,1552,test.containsValue("objectA"));
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),1555,test,1554,test.containsValue("object0"));
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),1557,test,1556,test.containsValue("object1"));
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),1559,test,1558,test.containsValue("object2"));
    fr.inria.diversify.testamplification.logger.Logger.writeTestFinish(Thread.currentThread());
}
 
开发者ID:DIVERSIFY-project,项目名称:sosiefier,代码行数:21,代码来源:MultiValueMapTest.java

示例11: testPutAll_Map1_literalMutation427

import org.apache.commons.collections4.MultiMap; //导入依赖的package包/类
@SuppressWarnings(value = "unchecked")
public void testPutAll_Map1_literalMutation427() {
    fr.inria.diversify.testamplification.logger.Logger.writeTestStart(Thread.currentThread(),this, "testPutAll_Map1_literalMutation427");
    final MultiMap<K, V> original = new MultiValueMap<K, V>();
    original.put(((K)("key")), "object1");
    original.put(((K)("key")), "object2");
    final MultiValueMap<K, V> test = new MultiValueMap<K, V>();
    test.put(((K)("foo")), "objectA");
    test.put(((K)("key")), "object0");
    test.putAll(original);
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),1545,test,1544,test.size());
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),1547,test,1546,test.totalSize());
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),1549,test.getCollection("keyA"),1548,test.getCollection("keyA").size());
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),1551,test.getCollection("key"),1550,test.getCollection("key").size());
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),1553,test,1552,test.containsValue("objectA"));
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),1555,test,1554,test.containsValue("object0"));
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),1557,test,1556,test.containsValue("object1"));
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),1559,test,1558,test.containsValue("object2"));
    fr.inria.diversify.testamplification.logger.Logger.writeTestFinish(Thread.currentThread());
}
 
开发者ID:DIVERSIFY-project,项目名称:sosiefier,代码行数:21,代码来源:MultiValueMapTest.java

示例12: testPutAll_Map1_literalMutation428

import org.apache.commons.collections4.MultiMap; //导入依赖的package包/类
@SuppressWarnings(value = "unchecked")
public void testPutAll_Map1_literalMutation428() {
    fr.inria.diversify.testamplification.logger.Logger.writeTestStart(Thread.currentThread(),this, "testPutAll_Map1_literalMutation428");
    final MultiMap<K, V> original = new MultiValueMap<K, V>();
    original.put(((K)("key")), "object1");
    original.put(((K)("key")), "object2");
    final MultiValueMap<K, V> test = new MultiValueMap<K, V>();
    test.put(((K)("keyA")), "foo");
    test.put(((K)("key")), "object0");
    test.putAll(original);
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),1545,test,1544,test.size());
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),1547,test,1546,test.totalSize());
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),1549,test.getCollection("keyA"),1548,test.getCollection("keyA").size());
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),1551,test.getCollection("key"),1550,test.getCollection("key").size());
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),1553,test,1552,test.containsValue("objectA"));
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),1555,test,1554,test.containsValue("object0"));
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),1557,test,1556,test.containsValue("object1"));
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),1559,test,1558,test.containsValue("object2"));
    fr.inria.diversify.testamplification.logger.Logger.writeTestFinish(Thread.currentThread());
}
 
开发者ID:DIVERSIFY-project,项目名称:sosiefier,代码行数:21,代码来源:MultiValueMapTest.java

示例13: testPutAll_Map1_literalMutation429

import org.apache.commons.collections4.MultiMap; //导入依赖的package包/类
@SuppressWarnings(value = "unchecked")
public void testPutAll_Map1_literalMutation429() {
    fr.inria.diversify.testamplification.logger.Logger.writeTestStart(Thread.currentThread(),this, "testPutAll_Map1_literalMutation429");
    final MultiMap<K, V> original = new MultiValueMap<K, V>();
    original.put(((K)("key")), "object1");
    original.put(((K)("key")), "object2");
    final MultiValueMap<K, V> test = new MultiValueMap<K, V>();
    test.put(((K)("keyA")), "objectA");
    test.put(((K)("foo")), "object0");
    test.putAll(original);
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),1545,test,1544,test.size());
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),1547,test,1546,test.totalSize());
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),1549,test.getCollection("keyA"),1548,test.getCollection("keyA").size());
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),1551,test.getCollection("key"),1550,test.getCollection("key").size());
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),1553,test,1552,test.containsValue("objectA"));
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),1555,test,1554,test.containsValue("object0"));
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),1557,test,1556,test.containsValue("object1"));
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),1559,test,1558,test.containsValue("object2"));
    fr.inria.diversify.testamplification.logger.Logger.writeTestFinish(Thread.currentThread());
}
 
开发者ID:DIVERSIFY-project,项目名称:sosiefier,代码行数:21,代码来源:MultiValueMapTest.java

示例14: testPutAll_Map1_literalMutation430

import org.apache.commons.collections4.MultiMap; //导入依赖的package包/类
@SuppressWarnings(value = "unchecked")
public void testPutAll_Map1_literalMutation430() {
    fr.inria.diversify.testamplification.logger.Logger.writeTestStart(Thread.currentThread(),this, "testPutAll_Map1_literalMutation430");
    final MultiMap<K, V> original = new MultiValueMap<K, V>();
    original.put(((K)("key")), "object1");
    original.put(((K)("key")), "object2");
    final MultiValueMap<K, V> test = new MultiValueMap<K, V>();
    test.put(((K)("keyA")), "objectA");
    test.put(((K)("key")), "foo");
    test.putAll(original);
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),1545,test,1544,test.size());
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),1547,test,1546,test.totalSize());
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),1549,test.getCollection("keyA"),1548,test.getCollection("keyA").size());
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),1551,test.getCollection("key"),1550,test.getCollection("key").size());
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),1553,test,1552,test.containsValue("objectA"));
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),1555,test,1554,test.containsValue("object0"));
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),1557,test,1556,test.containsValue("object1"));
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),1559,test,1558,test.containsValue("object2"));
    fr.inria.diversify.testamplification.logger.Logger.writeTestFinish(Thread.currentThread());
}
 
开发者ID:DIVERSIFY-project,项目名称:sosiefier,代码行数:21,代码来源:MultiValueMapTest.java

示例15: testPutAll_Map1_remove383

import org.apache.commons.collections4.MultiMap; //导入依赖的package包/类
@SuppressWarnings(value = "unchecked")
@Test(timeout = 1000)
public void testPutAll_Map1_remove383() {
    fr.inria.diversify.testamplification.logger.Logger.writeTestStart(Thread.currentThread(),this, "testPutAll_Map1_remove383");
    final MultiMap<K, V> original = new MultiValueMap<K, V>();
    original.put(((K)("key")), "object2");
    final MultiValueMap<K, V> test = new MultiValueMap<K, V>();
    test.put(((K)("keyA")), "objectA");
    test.put(((K)("key")), "object0");
    test.putAll(original);
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),1545,test,1544,test.size());
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),1547,test,1546,test.totalSize());
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),1549,test.getCollection("keyA"),1548,test.getCollection("keyA").size());
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),1551,test.getCollection("key"),1550,test.getCollection("key").size());
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),1553,test,1552,test.containsValue("objectA"));
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),1555,test,1554,test.containsValue("object0"));
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),1557,test,1556,test.containsValue("object1"));
    fr.inria.diversify.testamplification.logger.Logger.logAssertArgument(Thread.currentThread(),1559,test,1558,test.containsValue("object2"));
    fr.inria.diversify.testamplification.logger.Logger.writeTestFinish(Thread.currentThread());
}
 
开发者ID:DIVERSIFY-project,项目名称:sosiefier,代码行数:21,代码来源:MultiValueMapTest.java


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