Package it.unimi.dsi.fastutil.booleans
Class BooleanIterables
- java.lang.Object
-
- it.unimi.dsi.fastutil.booleans.BooleanIterables
-
public final class BooleanIterables extends java.lang.Object
A class providing static methods and objects that do useful things with type-specific iterables.- See Also:
Iterable
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static long
size(BooleanIterable iterable)
Counts the number of elements returned by a type-specific iterable.
-
-
-
Method Detail
-
size
public static long size(BooleanIterable iterable)
Counts the number of elements returned by a type-specific iterable.- Parameters:
iterable
- an iterable.- Returns:
- the number of elements returned by
iterable
.
-
-