Package com.drew.lang

Class Iterables


  • public class Iterables
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      Iterables()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static <E> java.util.List<E> toList​(java.lang.Iterable<E> iterable)  
      static <E> java.util.Set<E> toSet​(java.lang.Iterable<E> iterable)  
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Iterables

        public Iterables()
    • Method Detail

      • toList

        public static <E> java.util.List<E> toList​(java.lang.Iterable<E> iterable)
      • toSet

        public static <E> java.util.Set<E> toSet​(java.lang.Iterable<E> iterable)