Top Constructors Methods
org.testng.collections

public final Class CollectionUtils

extends Object
Class Inheritance
Imports
java.util.Collection, .Iterator, .Map

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static <T> Iterable<T>
asIterable(Iterator<T> iterator)

public static boolean
public static boolean
hasElements(Map<?, ?> c)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

CollectionUtilsback to summary
private CollectionUtils()

Method Detail

asIterableback to summary
public static <T> Iterable<T> asIterable(Iterator<T> iterator)
hasElementsback to summary
public static boolean hasElements(Collection<?> c)
hasElementsback to summary
public static boolean hasElements(Map<?, ?> c)