Package org.midheaven.collections
Interface EnumerableExtension<T,E extends Enumerable<T>>
- Type Parameters:
T- the type of Elements in the EnumerableE- the type of the decorating Enumerable
public interface EnumerableExtension<T,E extends Enumerable<T>>
Defines the contract for Enumerable Extension.
-
Method Summary
Modifier and TypeMethodDescriptionextend(Enumerable<T> previous) Creates a decorator ofEnumerablewith specific methods.
-
Method Details
-
extend
Creates a decorator ofEnumerablewith specific methods.- Parameters:
previous- the previous enumerable to decorate- Returns:
- the decorated
Enumerable
-