Top Description Fields Constructors Methods
org.assertj.core.internal

public Class Iterators

extends Object
Class Inheritance
Static Imports
org.assertj.core.error.ShouldBeExhausted.shouldBeExhausted, .ShouldHaveNext.shouldHaveNext, org.assertj.core.internal.Comparables.assertNotNull

Reusable assertions for Iterators.
Author
Stephan Windmüller

Field Summary

Modifier and TypeField and Description
pack-priv Failures
private static final Iterators

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public void
public void
public static Iterators

Returns:

the singleton instance of this class.
instance
()

Returns the singleton instance of this class.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

failuresback to summary
pack-priv Failures failures
Annotations
@VisibleForTesting
INSTANCEback to summary
private static final Iterators INSTANCE

Constructor Detail

Iteratorsback to summary
pack-priv Iterators()
Annotations
@VisibleForTesting

Method Detail

assertHasNextback to summary
public void assertHasNext(AssertionInfo info, Iterator<?> actual)
assertIsExhaustedback to summary
public void assertIsExhausted(AssertionInfo info, Iterator<?> actual)
instanceback to summary
public static Iterators instance()

Returns the singleton instance of this class.

Returns:Iterators

the singleton instance of this class.