• 如果您觉得本站非常有看点,那么赶紧使用Ctrl+D 收藏吧

Java MapHashCodeTester类的典型用法和代码示例

java 1次浏览

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

MapHashCodeTester类属于com.google.common.collect.testing.testers包,在下文中一共展示了MapHashCodeTester类的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。

示例1: getTesters

点赞 3

import com.google.common.collect.testing.testers.MapHashCodeTester; //导入依赖的package包/类
@SuppressWarnings("unchecked") // Class parameters must be raw.
@Override protected List<Class<? extends AbstractTester>> getTesters() {
  return Arrays.<Class<? extends AbstractTester>>asList(
      MapClearTester.class,
      MapContainsKeyTester.class,
      MapContainsValueTester.class,
      MapCreationTester.class,
      MapEntrySetTester.class,
      MapEqualsTester.class,
      MapGetTester.class,
      MapHashCodeTester.class,
      MapIsEmptyTester.class,
      MapPutTester.class,
      MapPutAllTester.class,
      MapRemoveTester.class,
      MapSerializationTester.class,
      MapSizeTester.class,
      MapToStringTester.class
  );
}
 

开发者ID:sander120786,
项目名称:guava-libraries,
代码行数:21,
代码来源:MapTestSuiteBuilder.java

示例2: getTesters

点赞 3

import com.google.common.collect.testing.testers.MapHashCodeTester; //导入依赖的package包/类
@SuppressWarnings("unchecked") // Class parameters must be raw.
@Override
protected List<Class<? extends AbstractTester>> getTesters() {
  return Arrays.<Class<? extends AbstractTester>>asList(
      MapClearTester.class,
      MapContainsKeyTester.class,
      MapContainsValueTester.class,
      MapCreationTester.class,
      MapEntrySetTester.class,
      MapEqualsTester.class,
      MapGetTester.class,
      MapHashCodeTester.class,
      MapIsEmptyTester.class,
      MapPutTester.class,
      MapPutAllTester.class,
      MapRemoveTester.class,
      MapSerializationTester.class,
      MapSizeTester.class,
      MapToStringTester.class);
}
 

开发者ID:google,
项目名称:guava,
代码行数:21,
代码来源:MapTestSuiteBuilder.java

示例3: getTesters

点赞 2

import com.google.common.collect.testing.testers.MapHashCodeTester; //导入依赖的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);
}
 

开发者ID:zugzug90,
项目名称:guava-mock,
代码行数:32,
代码来源:MapTestSuiteBuilder.java


版权声明:本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系管理员进行删除。
喜欢 (0)