org.wegra.util.collection.array
Class Min

java.lang.Object
  extended byorg.wegra.util.collection.array.Min

public final class Min
extends java.lang.Object

Version:
1.0.0 (2003-06-08)
Author:
wegra (Bok-Youn Lee)

Constructor Summary
Min()
           
 
Method Summary
static byte get(byte[] array)
          Finds and returns minimum value within given byte array.
static char get(char[] array)
          Finds and returns minimum value within given short array.
static double get(double[] array)
          Finds and returns minimum value within given double array.
static float get(float[] array)
          Finds and returns minimum value within given float array.
static int get(int[] array)
          Finds and returns minimum value within given int array.
static long get(long[] array)
          Finds and returns minimum value within given long array.
static java.lang.Object get(java.lang.Object[] array, java.util.Comparator comp)
          Finds and returns maximum value within given Object array.
static short get(short[] array)
          Finds and returns minimum value within given short array.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Min

public Min()
Method Detail

get

public static java.lang.Object get(java.lang.Object[] array,
                                   java.util.Comparator comp)
Finds and returns maximum value within given Object array.


get

public static long get(long[] array)
Finds and returns minimum value within given long array.


get

public static int get(int[] array)
Finds and returns minimum value within given int array.


get

public static short get(short[] array)
Finds and returns minimum value within given short array.


get

public static char get(char[] array)
Finds and returns minimum value within given short array.


get

public static byte get(byte[] array)
Finds and returns minimum value within given byte array.


get

public static double get(double[] array)
Finds and returns minimum value within given double array.


get

public static float get(float[] array)
Finds and returns minimum value within given float array.