org.jclouds.util
Class Iterables2

java.lang.Object
  extended by org.jclouds.util.Iterables2

public class Iterables2
extends Object

General utilities used in jclouds code for Iterables.

Author:
danikov

Constructor Summary
Iterables2()
           
 
Method Summary
static
<T> Iterable<T>
concreteCopy(Iterable<? extends T> unboundedValues)
          Copies the contents of a wildcarded Iterable into a concrete Iterable of the left bound
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Iterables2

public Iterables2()
Method Detail

concreteCopy

public static <T> Iterable<T> concreteCopy(Iterable<? extends T> unboundedValues)
Copies the contents of a wildcarded Iterable into a concrete Iterable of the left bound

Parameters:
unboundedValues - wildcarded source Iterable
Returns:
concrete-typed copy of the source


Copyright © 2009-2013 jclouds. All Rights Reserved.