Class AbstractMutableNumeric<IMPLTYPE extends AbstractMutableNumeric<IMPLTYPE>>

java.lang.Object
java.lang.Number
com.helger.commons.mutable.AbstractMutableNumeric<IMPLTYPE>
Type Parameters:
IMPLTYPE - Real implementation type
All Implemented Interfaces:
IComparable<IMPLTYPE>, ICloneable<IMPLTYPE>, IMutableNumeric<IMPLTYPE>, IMutableObject<IMPLTYPE>, INumber, IGenericImplTrait<IMPLTYPE>, Serializable, Comparable<IMPLTYPE>
Direct Known Subclasses:
AbstractMutableInteger, MutableBigDecimal, MutableBigInteger, MutableDouble, MutableFloat

public abstract class AbstractMutableNumeric<IMPLTYPE extends AbstractMutableNumeric<IMPLTYPE>> extends Number implements IMutableNumeric<IMPLTYPE>
Base implementation class for IMutableNumeric extending Number class.
Author:
Philip Helger
See Also:
  • Constructor Details

    • AbstractMutableNumeric

      public AbstractMutableNumeric()
  • Method Details

    • onAfterChange

      @OverrideOnDemand protected void onAfterChange()
      This method is invoked after a value changed. This method is also called if e.g. an increment of zero happens so no change effectively was performed.