public final class IterableUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static int |
size(Iterable<?> src)
Returns the size of the given iterable.
|
static Object[] |
toArray(Iterable<?> src)
Converts the given iterable to an array and returns the result.
|
public static int size(Iterable<?> src)
src - The iterable.Copyright © 2020. All rights reserved.