Class Iterables

java.lang.Object
org.neo4j.driver.internal.util.Iterables

public class Iterables extends Object
  • Constructor Details

    • Iterables

      public Iterables()
  • Method Details

    • count

      public static int count(Iterable<?> it)
    • asList

      public static <T> List<T> asList(Iterable<T> it)
    • single

      public static <T> T single(Iterable<T> it)
    • map

      public static <A, B> Iterable<B> map(Iterable<A> it, Function<A,B> f)
    • emptyQueue

      public static <T> Queue<T> emptyQueue()
    • newHashMapWithSize

      public static <K, V> HashMap<K,V> newHashMapWithSize(int expectedSize)
    • newLinkedHashMapWithSize

      public static <K, V> LinkedHashMap<K,V> newLinkedHashMapWithSize(int expectedSize)