public class LongMinMax extends Object
| Constructor and Description |
|---|
LongMinMax() |
| Modifier and Type | Method and Description |
|---|---|
void |
accumulate(long n)
Update min and max with the given number.
|
void |
combine(LongMinMax that)
Combine that to this.
|
long |
getMax() |
long |
getMin() |
boolean |
isInitialized() |
public long getMin()
public long getMax()
public boolean isInitialized()
public void accumulate(long n)
public void combine(LongMinMax that)
Copyright © 2017–2022 The Apache Software Foundation. All rights reserved.