Class ShortIterables

java.lang.Object
it.unimi.dsi.fastutil.shorts.ShortIterables

public final class ShortIterables
extends java.lang.Object
A class providing static methods and objects that do useful things with type-specific iterables.
See Also:
Iterable
  • Method Summary

    Modifier and Type Method Description
    static long size​(ShortIterable iterable)
    Counts the number of elements returned by a type-specific iterable.

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • size

      public static long size​(ShortIterable iterable)
      Counts the number of elements returned by a type-specific iterable.
      Parameters:
      iterable - an iterable.
      Returns:
      the number of elements returned by iterable.