MCPcopy Index your code
hub / github.com/EdwardRaff/JSAT / addAll

Method addAll

JSAT/src/jsat/utils/BoundedSortedSet.java:40–47  ·  view source on GitHub ↗
(Collection<? extends V> clctn)

Source from the content-addressed store, hash-verified

38 }
39
40 @Override
41 public boolean addAll(Collection<? extends V> clctn)
42 {
43 super.addAll(clctn);
44 while (size() > maxSize)
45 remove(last());
46 return true;
47 }
48
49 /**
50 * Returns the maximum size allowed for the bounded set

Callers

nothing calls this directly

Calls 3

sizeMethod · 0.65
removeMethod · 0.45
lastMethod · 0.45

Tested by

no test coverage detected