org.jclouds.functions
Class OnlyElementOrNull<T>

java.lang.Object
  extended by org.jclouds.functions.OnlyElementOrNull<T>
All Implemented Interfaces:
com.google.common.base.Function<Iterable<T>,T>

@Singleton
public class OnlyElementOrNull<T>
extends Object
implements com.google.common.base.Function<Iterable<T>,T>


Constructor Summary
OnlyElementOrNull()
           
 
Method Summary
 T apply(Iterable<T> arg0)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.google.common.base.Function
equals
 

Constructor Detail

OnlyElementOrNull

public OnlyElementOrNull()
Method Detail

apply

public T apply(Iterable<T> arg0)
Specified by:
apply in interface com.google.common.base.Function<Iterable<T>,T>


Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.