com.atlassian.bamboo.util
Class BambooIterablesUtils

java.lang.Object
  extended by com.atlassian.bamboo.util.BambooIterablesUtils

public class BambooIterablesUtils
extends java.lang.Object

This class upholds the general *Utils contract over Iterables as introduced by Apache Commons.


Method Summary
static
<T> boolean
isEmpty(java.lang.Iterable<T> iterable)
           
static
<T> boolean
isNotEmpty(java.lang.Iterable<T> iterable)
           
static
<T> java.lang.Iterable<T>
toIterable(java.util.Iterator<T> iterator)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

isEmpty

public static <T> boolean isEmpty(@Nullable
                                  java.lang.Iterable<T> iterable)

isNotEmpty

public static <T> boolean isNotEmpty(@Nullable
                                     java.lang.Iterable<T> iterable)

toIterable

@NotNull
public static <T> java.lang.Iterable<T> toIterable(@NotNull
                                                           java.util.Iterator<T> iterator)


Copyright © 2013 Atlassian Software Systems Pty Ltd. All Rights Reserved.