org.jclouds.functions
Class OnlyElementOrNull<T>
java.lang.Object
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>
- Author:
- Adrian Cole
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 |
OnlyElementOrNull
public OnlyElementOrNull()
apply
public T apply(Iterable<T> arg0)
- Specified by:
apply
in interface com.google.common.base.Function<Iterable<T>,T>
Copyright © 2009-2011 jclouds. All Rights Reserved.