public final class IntAggregator extends Object
RatingAggregator
Constructor and Description |
---|
IntAggregator()
Create a new instance.
|
Modifier and Type | Method and Description |
---|---|
IntAggregator |
addVote(int vote)
Add a new integer.
|
int |
getAverage()
Get the average value.
|
int |
getMax()
Get the maximum value.
|
int |
getMin()
Get the minimum value.
|
int |
getNumberOfVotes()
Get the number of integers.
|
public IntAggregator addVote(int vote)
public int getAverage()
public int getMax()
public int getMin()
public int getNumberOfVotes()
Copyright © 2015 universAAL Consortium. All rights reserved.