MCPcopy Create free account
hub / github.com/diyhi/bbs / add

Method add

src/main/java/cms/utils/ConcurrentHashSet.java:52–55  ·  view source on GitHub ↗
(T element)

Source from the content-addressed store, hash-verified

50 }
51
52 @Override
53 public boolean add(T element) {
54 return mMap.put(element, Boolean.TRUE) == null;
55 }
56
57 /**
58 * 将元素添加到集合中,前提是该元素尚未加入集合

Callers 15

loadResourceDefineMethod · 0.45
putMethod · 0.45
offerMethod · 0.45
iterateFileNameMethod · 0.45
rangeDownloadResponseMethod · 0.45
formatMethod · 0.45
removeBomMethod · 0.45

Calls 1

putMethod · 0.80

Tested by

no test coverage detected