本文整理汇总了Java中com.google.common.collect.testing.testers.MapPutIfAbsentTester类的典型用法代码示例。如果您正苦于以下问题:Java MapPutIfAbsentTester类的具体用法?Java MapPutIfAbsentTester怎么用?Java MapPutIfAbsentTester使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
MapPutIfAbsentTester类属于com.google.common.collect.testing.testers包,在下文中一共展示了MapPutIfAbsentTester类的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: getTesters
import com.google.common.collect.testing.testers.MapPutIfAbsentTester; //导入依赖的package包/类
@SuppressWarnings("unchecked") // Class parameters must be raw.
@Override
protected List<Class<? extends AbstractTester>> getTesters() {
return Arrays.<Class<? extends AbstractTester>>asList(
MapClearTester.class,
MapComputeTester.class,
MapComputeIfAbsentTester.class,
MapComputeIfPresentTester.class,
MapContainsKeyTester.class,
MapContainsValueTester.class,
MapCreationTester.class,
MapEntrySetTester.class,
MapEqualsTester.class,
MapForEachTester.class,
MapGetTester.class,
MapGetOrDefaultTester.class,
MapHashCodeTester.class,
MapIsEmptyTester.class,
MapMergeTester.class,
MapPutTester.class,
MapPutAllTester.class,
MapPutIfAbsentTester.class,
MapRemoveTester.class,
MapRemoveEntryTester.class,
MapReplaceTester.class,
MapReplaceAllTester.class,
MapReplaceEntryTester.class,
MapSerializationTester.class,
MapSizeTester.class,
MapToStringTester.class);
}