Interface CollectionProviderSupport<E,C extends Iterable<E>>
- Type Parameters:
E
- the type of the the collectionC
- the type of he collection being provided.
- All Superinterfaces:
ElementProviderSupport<E>
,ProviderSupport<C>
- All Known Subinterfaces:
AddAllContract<E,
,C> AddAtPositionContract<E,
,L> AddContract<E,
,C> AddFirstContract<E,
,C> AddLastContract<E,
,C> BreakableCollection.WithProvider<E>
,BreakableIterable.WithProvider<E>
,ClearContract<E,
,C> CollectionContract<E,
,C> CollectionContractSupport<E,
,C> ContainsAllContract<E,
,C> ContainsContract<E,
,C> ForEachContract<E,
,I> GetContract<E,
,L> GetFirstContract<E,
,C> GetLastContract<E,
,C> IndexOfContract<E,
,L> IsEmptyContract<E,
,C> IterableContract<E,
,I> IteratorContract<E,
,I> LastIndexOfContract<E,
,L> ListAddContract<E,
,L> ListContract<E,
,L> ListToArrayContract<E,
,L> RemoveAllContract<E,
,C> RemoveAtPositionContract<E,
,L> RemoveContract<E,
,C> RemoveFirstContract<E,
,C> RemoveIfContract<E,
,C> RemoveLastContract<E,
,C> ReplaceAllContract<E,
,L> RetainAllContract<E,
,C> ReversedContract<E,
,C> SequencedCollectionContract<E,
,C> SetContract<E,
,L> SizeContract<E,
,C> SortContract<E,
,L> SpliteratorContract<E,
,I> StreamContract<E,
,C> SubListContract<E,
,L> ToArrayContract<E,
,C> WithArrayList<E>
public interface CollectionProviderSupport<E,C extends Iterable<E>>
extends ProviderSupport<C>, ElementProviderSupport<E>
Interface for contract classes that need a collection provider.
- Since:
- 1.0
- Author:
- evanbergstrom
-
Method Summary
Modifier and TypeMethodDescription@NotNull CollectionProvider
<E, C> provider()
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
-
Method Details
-
provider
Returns a collection provider that can be used to create instances of the collection class being tested.- Specified by:
provider
in interfaceProviderSupport<E>
- Returns:
- a collection provider.
-