public final class CollectionsExt
extends java.lang.Object
| Modifier | Constructor and Description |
|---|---|
private |
CollectionsExt() |
| Modifier and Type | Method and Description |
|---|---|
(package private) static <T> T |
getNthIteratedElement(java.util.Collection<? extends T> s,
int index) |
private static <T> T |
getNthIteratedElement(java.util.Iterator<? extends T> iter,
int index) |
(package private) static java.lang.String |
toStringInLines(java.util.Collection<? extends java.lang.Object> c)
Returns the String.valueOf() of all elements of the collection, one on each line.
|
private static java.util.List<java.lang.String> |
toStringLines(java.util.Collection<? extends java.lang.Object> c)
List of String.valueOf() of all elements of the collection.
|
static <T> T getNthIteratedElement(java.util.Collection<? extends T> s,
int index)
private static <T> T getNthIteratedElement(java.util.Iterator<? extends T> iter,
int index)
static java.lang.String toStringInLines(java.util.Collection<? extends java.lang.Object> c)
c - the collection of objects to include in stringprivate static java.util.List<java.lang.String> toStringLines(java.util.Collection<? extends java.lang.Object> c)
c - the collection of objects to include in string