Package it.unimi.dsi.fastutil.objects
Class ObjectIterables
- java.lang.Object
-
- it.unimi.dsi.fastutil.objects.ObjectIterables
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <K> long
size(Iterable<K> iterable)
Counts the number of elements returned by a type-specific iterable.
-
-
-
Method Detail
-
size
public static <K> long size(Iterable<K> iterable)
Counts the number of elements returned by a type-specific iterable.- Parameters:
iterable
- an iterable.- Returns:
- the number of elements returned by
iterable
.
-
-