Interface Elements.ClearableElements<E>

Type Parameters:
E - The type of the elements being stored in the Elements.ClearableElements.
All Superinterfaces:
org.refcodes.mixin.Clearable, Elements<E>
All Known Subinterfaces:
Container.ClearableContainer<E>, Container.MutableContainer<E>, Elements.MutableElements<E>
Enclosing interface:
Elements<E>

public static interface Elements.ClearableElements<E> extends Elements<E>, org.refcodes.mixin.Clearable
Extends the Elements interface with Clearable functionality (as of Clearable.clear()). The case of having a plain Elements without dedicated Elements.MutableElements.add(Object) or Elements.MutableElements.remove(Object) methods but with a dedicated Clearable.clear() method seems to be quite common, therefore this interface has been provided.