Interface Container.ClearableContainer<E>

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

public static interface Container.ClearableContainer<E> extends Container<E>, Elements.ClearableElements<E>
Extends the Container interface with Clearable functionality (as of Clearable.clear()). The case of having a plain Container 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.