public class Medianextends Percentileimplements SerializableReturns the median of the available values. This is the same as the 50th percentile. See
Percentilefor a description of the algorithm used.
Note that this implementation is not synchronized. If multiple threads access an instance of this class concurrently, and at least one of the threads invokes the
clear()method, it must be synchronized externally.
- See Also:
- Serialized Form