Class AbstractAggregation<T>

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Aggregation add​(Aggregation aggregation)
      Creates a new aggregation method that adds the value of the specified aggregation to this aggregation.
      Aggregation<T> as​(java.lang.String name)  
      Aggregation divide​(Aggregation aggregation)
      Creates a new aggregation method that divides the value of the specified aggregation to this aggregation.
      java.lang.String getName()  
      Aggregation max​(Aggregation aggregation)
      Creates a new aggregation method that returns the maximum the specified aggregation to this aggregation.
      Aggregation min​(Aggregation aggregation)
      Creates a new aggregation method that returns the minimum the specified aggregation to this aggregation.
      Aggregation multiply​(Aggregation aggregation)
      Creates a new aggregation method that multiplies the value of the specified aggregation to this aggregation.
      Aggregation substract​(Aggregation aggregation)
      Creates a new aggregation method that subtracts the value of the specified aggregation to this aggregation.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AbstractAggregation

        public AbstractAggregation()
    • Method Detail

      • getName

        public java.lang.String getName()
        Specified by:
        getName in interface Aggregation<T>
      • add

        public Aggregation add​(Aggregation aggregation)
        Description copied from interface: Aggregation
        Creates a new aggregation method that adds the value of the specified aggregation to this aggregation.
        Specified by:
        add in interface Aggregation<T>
        Parameters:
        aggregation - the aggregation method whose value is to add
        Returns:
        a new aggregation method
      • substract

        public Aggregation substract​(Aggregation aggregation)
        Description copied from interface: Aggregation
        Creates a new aggregation method that subtracts the value of the specified aggregation to this aggregation.
        Specified by:
        substract in interface Aggregation<T>
        Parameters:
        aggregation - the aggregation method whose value is to subtract
        Returns:
        a new aggregation method
      • multiply

        public Aggregation multiply​(Aggregation aggregation)
        Description copied from interface: Aggregation
        Creates a new aggregation method that multiplies the value of the specified aggregation to this aggregation.
        Specified by:
        multiply in interface Aggregation<T>
        Parameters:
        aggregation - the aggregation method whose value is to multiply
        Returns:
        a new aggregation method
      • divide

        public Aggregation divide​(Aggregation aggregation)
        Description copied from interface: Aggregation
        Creates a new aggregation method that divides the value of the specified aggregation to this aggregation.
        Specified by:
        divide in interface Aggregation<T>
        Parameters:
        aggregation - the aggregation method whose value is to divide
        Returns:
        a new aggregation method
      • min

        public Aggregation min​(Aggregation aggregation)
        Description copied from interface: Aggregation
        Creates a new aggregation method that returns the minimum the specified aggregation to this aggregation.
        Specified by:
        min in interface Aggregation<T>
        Parameters:
        aggregation - the aggregation method whose value is to minimize
        Returns:
        a new aggregation method
      • max

        public Aggregation max​(Aggregation aggregation)
        Description copied from interface: Aggregation
        Creates a new aggregation method that returns the maximum the specified aggregation to this aggregation.
        Specified by:
        max in interface Aggregation<T>
        Parameters:
        aggregation - the aggregation method whose value is to maximize
        Returns:
        a new aggregation method