T - the typepublic class MinMax<T> extends Object
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
MinMax<T> |
extend(MinMax<T> minmax,
Comparator<? super T> c)
*
Extend this
MinMax to include minmax. |
MinMax<T> |
extend(T t,
Comparator<? super T> c)
Extend this
MinMax to include t. |
T |
getMaximum()
Get the value of maximum
|
T |
getMinimum()
Get the value of minimum
|
int |
hashCode() |
boolean |
isEmpty()
Checks if this MinMax is empty
|
MinMax<T> |
setMaximum(T maximum)
Set the value of maximum
|
MinMax<T> |
setMinimum(T minimum)
Set the value of minimum
|
String |
toString() |
public T getMinimum()
public MinMax<T> setMinimum(T minimum)
minimum - new value of minimumpublic T getMaximum()
public MinMax<T> setMaximum(T maximum)
maximum - new value of maximumpublic MinMax<T> extend(T t, Comparator<? super T> c)
MinMax to include t.t - the object to includec - the comparator used to compare the valuespublic MinMax<T> extend(MinMax<T> minmax, Comparator<? super T> c)
MinMax to include minmax.minmax - the MinMax to includec - the comparatorpublic boolean isEmpty()
Copyright © 2015–2021 52North Initiative for Geospatial Open Source Software GmbH. All rights reserved.