在Eclipse裏靜態導入

在Eclipse裏靜態導入

在Eclipse裏配置靜態導入apache

Eclipse靜態導入

經常使用的靜態導入方法以下:測試

  • com.google.common.base.Preconditions
  • com.google.common.base.Predicates
  • com.google.common.collect.Iterables
  • com.google.common.collect.Lists
  • com.google.common.collect.Maps
  • com.google.common.collect.Sets
  • org.apache.commons.lang.StringUtils
  • org.junit.Assert

靜態導入配置後,寫代碼只須要google

checkNotNull(sourceData);spa

isBlank(a);blog

assertEquals(「阿里巴巴測試公司」, 「阿里巴巴測試公司」);ip

相關文章
相關標籤/搜索