Class ObjectIterables

java.lang.Object
it.unimi.dsi.fastutil.objects.ObjectIterables

public final class ObjectIterables extends Object
A class providing static methods and objects that do useful things with type-specific iterables.
See Also:
  • Method Details

    • 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.