mirror of
https://github.com/TheAlgorithms/Java.git
synced 2025-07-27 22:43:30 +08:00
9 lines
228 B
Java
9 lines
228 B
Java
package com.thealgorithms.misc;
|
|
|
|
public final class MedianOfRunningArrayLong extends MedianOfRunningArray<Long> {
|
|
@Override
|
|
public Long calculateAverage(final Long a, final Long b) {
|
|
return (a + b) / 2L;
|
|
}
|
|
}
|