Class Collections2


  • @Deprecated
    public final class Collections2
    extends java.lang.Object
    Deprecated.
    use Guava's Collections2
    Static utility methods pertaining to Collection instances.
    Since:
    1.14
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private Collections2()
      Deprecated.
       
    • Method Summary

      All Methods Static Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      (package private) static <T> java.util.Collection<T> cast​(java.lang.Iterable<T> iterable)
      Deprecated.
      Used to avoid http://bugs.sun.com/view_bug.do?bug_id=6558557.
      • Methods inherited from class java.lang.Object

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

      • Collections2

        private Collections2()
        Deprecated.
    • Method Detail

      • cast

        static <T> java.util.Collection<T> cast​(java.lang.Iterable<T> iterable)
        Deprecated.
        Used to avoid http://bugs.sun.com/view_bug.do?bug_id=6558557.