Interface GroupAdditive<G>

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      G opposite()
      Returns the additive inverse of this object.
      G plus​(G that)
      Returns the sum of this object with the one specified.
      • Methods inherited from interface javolution.lang.ValueType

        copy
    • Method Detail

      • plus

        G plus​(G that)
        Returns the sum of this object with the one specified.
        Parameters:
        that - the object to be added.
        Returns:
        this + that.
      • opposite

        G opposite()
        Returns the additive inverse of this object. It is the object such as this.plus(this.opposite()) == ZERO, with ZERO being the additive identity.
        Returns:
        -this.