AMap.java 文件源码

java
阅读 29 收藏 0 点赞 0 评论 0

项目:fluvius 作者:
@Override
public void describeTo(Description description) {
  if (expectedContents.isEmpty()) {
    description.appendText("A map");
    return;
  }

  description.appendText("A map with:");
  IndentationControl.indent();
  for (Map.Entry<K, Matcher<? super V>> entry : expectedContents.entrySet()) {
    IndentationControl.newline(description).appendText(entry.getKey().toString()).appendText(": ").appendDescriptionOf(entry.getValue());
  }
  IndentationControl.outdent();
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号