Package org.refcodes.structure
Interface Container.ClearableContainer<E>
-
- Type Parameters:
E
- The type of the elements being stored in theContainer.ClearableContainer
.
- All Superinterfaces:
Clearable
,Containable
,Container<E>
,Elements<E>
,Elements.ClearableElements<E>
- All Known Subinterfaces:
Container.MutableContainer<E>
public static interface Container.ClearableContainer<E> extends Container<E>, Elements.ClearableElements<E>
Extends theContainer
interface withClearable
functionality (as ofClearable.clear()
). The case of having a plainContainer
without dedicatedElements.MutableElements.add(Object)
orElements.MutableElements.remove(Object)
methods but with a dedicatedClearable.clear()
method seems to be quite common, therefore this interface has been provided.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.refcodes.structure.Container
Container.ClearableContainer<E>, Container.MutableContainer<E>
-
Nested classes/interfaces inherited from interface org.refcodes.structure.Elements
Elements.ClearableElements<E>, Elements.MutableElements<E>
-
-