org.jclouds.collect
Class TransformingSetSupplier<F,T>

java.lang.Object
  extended by org.jclouds.collect.TransformingSetSupplier<F,T>
All Implemented Interfaces:
com.google.common.base.Supplier<Set<? extends T>>, Serializable

public class TransformingSetSupplier<F,T>
extends Object
implements com.google.common.base.Supplier<Set<? extends T>>, Serializable

Author:
Adrian Cole
See Also:
Serialized Form

Constructor Summary
TransformingSetSupplier(com.google.common.base.Supplier<Iterable<F>> backingSupplier, com.google.common.base.Function<F,T> converter)
           
 
Method Summary
 boolean equals(Object obj)
           
 Set<? extends T> get()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TransformingSetSupplier

public TransformingSetSupplier(com.google.common.base.Supplier<Iterable<F>> backingSupplier,
                               com.google.common.base.Function<F,T> converter)
Method Detail

get

public Set<? extends T> get()
Specified by:
get in interface com.google.common.base.Supplier<Set<? extends T>>

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2009-2013 jclouds. All Rights Reserved.