T - the typepublic class MinMax<T>
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
MinMax<T> |
extend(MinMax<T> minmax,
java.util.Comparator<? super T> c)
*
Extend this
MinMax to include minmax. |
MinMax<T> |
extend(T t,
java.util.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
|
java.lang.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, java.util.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, java.util.Comparator<? super T> c)
MinMax to include minmax.minmax - the MinMax to includec - the comparatorpublic boolean isEmpty()
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2015–2018 52°North Initiative for Geospatial Open Source Software GmbH. All rights reserved.