Interface WithArrayList<E>

Type Parameters:
E - the element type for the collection being tested.
All Superinterfaces:
CollectionProviderSupport<E,ArrayList<E>>, ElementProviderSupport<E>, ProviderSupport<ArrayList<E>>

public interface WithArrayList<E> extends CollectionProviderSupport<E,ArrayList<E>>

Mixing for a collection contract class that implements a collection provider for instances of ArrayList.

   public class ArrayListTest extends AbstractTest implements ListContract<Integer, ArrayList<Integer>>
        WithArrayList<Integer>, WithIntegerElement {
Since:
1.0
Author:
evanbergstrom
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    default @NotNull CollectionProvider<E,ArrayList<E>>
    Returns a collection provider that can be used to create instances of the collection class being tested.

    Methods inherited from interface org.soliscode.test.contract.support.ElementProviderSupport

    elementProvider