Class Enumerables


  • public class Enumerables
    extends java.lang.Object
    Utilities for processing Enumerable collections.

    This class is a place to put things not yet added to linq4j. Methods are subject to removal without notice.

    • Constructor Detail

      • Enumerables

        private Enumerables()
    • Method Detail

      • slice0

        public static <E> Enumerable<E> slice0​(Enumerable<E[]> enumerable)
        Converts an enumerable over singleton arrays into the enumerable of their first elements.
      • toRow

        public static java.util.function.Supplier<Enumerable<Row>> toRow​(java.util.function.Supplier<Enumerable<java.lang.Object[]>> supplier)
        Converts a supplier of an Enumerable over object arrays into a supplier of an Enumerable over Row objects.
      • toRow

        @Deprecated
        public static com.google.common.base.Supplier<Enumerable<Row>> toRow​(com.google.common.base.Supplier<Enumerable<java.lang.Object[]>> supplier)
        Deprecated.