MCPcopy Create free account
hub / github.com/GateNLP/gate-core / addAllForTreeSet

Method addAllForTreeSet

src/main/java/gate/util/RBTreeMap.java:1569–1575  ·  view source on GitHub ↗

Intended to be called only from TreeSet.addAll

(SortedSet<K> set, V defaultVal)

Source from the content-addressed store, hash-verified

1567
1568 /** Intended to be called only from TreeSet.addAll */
1569 void addAllForTreeSet(SortedSet<K> set, V defaultVal) {
1570 try {
1571 buildFromSorted(set.size(), set.iterator(), null, defaultVal);
1572 } catch (java.io.IOException cannotHappen) {
1573 } catch (ClassNotFoundException cannotHappen) {
1574 }
1575 }
1576
1577
1578 /**

Callers

nothing calls this directly

Calls 3

buildFromSortedMethod · 0.95
sizeMethod · 0.65
iteratorMethod · 0.65

Tested by

no test coverage detected