Package com.helger.commons.state
Interface IClearable
-
- All Known Subinterfaces:
IMutableMultilingualText
- All Known Implementing Classes:
AbstractMapBasedMultilingualText,HttpHeaderMap,InMemoryLogger,MultilingualText
public interface IClearableBasic interface for the common action of resetting an objects contents to the initial state.- Author:
- Philip Helger
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EChangeremoveAll()Reset the contents of the element to the after-construction state.
-
-
-
Method Detail
-
removeAll
@Nonnull EChange removeAll()
Reset the contents of the element to the after-construction state.- Returns:
EChange.CHANGEDif at least one element was cleared,EChange.UNCHANGEDotherwise.
-
-