Interface IMutableWrapper<DATATYPE>

Type Parameters:
DATATYPE - The type of the wrapped object.
All Superinterfaces:
IWrapper<DATATYPE>, Supplier<DATATYPE>
All Known Implementing Classes:
Wrapper

public interface IMutableWrapper<DATATYPE> extends IWrapper<DATATYPE>
Base interface for mutable wrapping an object within another object.
Author:
Philip Helger
  • Method Summary

    Modifier and Type
    Method
    Description
    @Nullable EChange
    set(@Nullable DATATYPE aObj)
    Change the wrapped object.

    Methods inherited from interface com.helger.base.wrapper.IWrapper

    get, isNotSet, isSet
  • Method Details

    • set

      @Nullable EChange set(@Nullable DATATYPE aObj)
      Change the wrapped object.
      Parameters:
      aObj - The new object to be wrapped. May be null.
      Returns:
      EChange