MCPcopy
hub / github.com/libgdx/libgdx / appendAll

Method appendAll

gdx/src/com/badlogic/gdx/utils/CharArray.java:802–806  ·  view source on GitHub ↗

Appends each item in an iterable to this CharArray without any separators. Each object is appended using #append(Object).

(Iterable<?> iterable)

Source from the content-addressed store, hash-verified

800 /** Appends each item in an iterable to this CharArray without any separators. Each object is appended using
801 * {@link #append(Object)}. */
802 public CharArray appendAll (Iterable<?> iterable) {
803 for (Iterator iter = iterable.iterator(); iter.hasNext();)
804 append(iter.next());
805 return this;
806 }
807
808 /** Appends each item in an iterator to this CharArray without any separators. Each object is appended using
809 * {@link #append(Object)}. */

Callers 1

iteratorTestMethod · 0.95

Calls 6

hasNextMethod · 0.95
appendMethod · 0.95
nextMethod · 0.95
nextMethod · 0.65
iteratorMethod · 0.45
hasNextMethod · 0.45

Tested by 1

iteratorTestMethod · 0.76