org.xerial.util
Class MinMax<E>

java.lang.Object
  extended by org.xerial.util.Pair<E,E>
      extended by org.xerial.util.MinMax<E>

public class MinMax<E>
extends Pair<E,E>

A pair of min and max values

Author:
leo

Constructor Summary
MinMax(E min, E max)
          Creates a pair of min and max
 
Method Summary
 E max()
           
 E min()
           
 
Methods inherited from class org.xerial.util.Pair
getFirst, getSecond, setFirst, setSecond
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MinMax

public MinMax(E min,
              E max)
Creates a pair of min and max

Parameters:
min -
max -
Method Detail

min

public E min()

max

public E max()


Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 2.1 Japan License.