Package com.google.api.client.util
Class Collections2
- java.lang.Object
-
- com.google.api.client.util.Collections2
-
public final class Collections2 extends java.lang.Object
Static utility methods pertaining toCollection
instances.NOTE: this is a copy of a subset of Guava's
Collections2
. The implementation must match as closely as possible to Guava's implementation.- Since:
- 1.14
-
-
Constructor Summary
Constructors Modifier Constructor Description private
Collections2()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description (package private) static <T> java.util.Collection<T>
cast(java.lang.Iterable<T> iterable)
Used to avoid http://bugs.sun.com/view_bug.do?bug_id=6558557.
-