Class Size

    • Constructor Detail

      • Size

        public Size()
    • Method Detail

      • sizeAsLong

        public static <T> Long sizeAsLong​(Iterable<T> iterable)
        Parameters:
        iterable - the data to operate over
        Returns:
        the size of the dataset, as as Long
      • sizeAsDouble

        public static <T> Double sizeAsDouble​(Iterable<T> iterable)
        Parameters:
        iterable - the data to operate over
        Returns:
        the size of the dataset, as as Double