MCPcopy Create free account
hub / github.com/SeaOfNodes/Simple / addAll

Method addAll

chapter18/src/main/java/com/seaofnodes/simple/Ary.java:117–121  ·  view source on GitHub ↗

@param c Collection to be added

( Collection<? extends E> c )

Source from the content-addressed store, hash-verified

115
116 /** @param c Collection to be added */
117 public boolean addAll( Collection<? extends E> c ) {
118 if( c==null ) return false;
119 for( E e : c ) add(e);
120 return true;
121 }
122 public Ary<E> addAll( Iterable<? extends E> it ) { for( E e : it ) add(e); return this; }
123
124 /** @param es Array to be added */

Callers 4

xmeetMethod · 0.45
NodeMethod · 0.45
dupMethod · 0.45
$cFunction · 0.45

Calls 1

addMethod · 0.95

Tested by

no test coverage detected