Package org.refcodes.structure
Interface Elements.ClearableElements<E>
-
- Type Parameters:
E
- The type of the elements being stored in theElements.ClearableElements
.
- All Known Subinterfaces:
Container.ClearableContainer<E>
,Container.MutableContainer<E>
,Elements.MutableElements<E>
public static interface Elements.ClearableElements<E> extends Elements<E>, Clearable
Extends theElements
interface withClearable
functionality (as ofClearable.clear()
). The case of having a plainElements
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.Elements
Elements.ClearableElements<E>, Elements.MutableElements<E>
-
-