org.wegra.util.collection.array
Class Max

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

public final class Max
extends java.lang.Object

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

Constructor Summary
Max()
           
 
Method Summary
static byte get(byte[] array)
          Finds and returns maximum value within given byte array.
static char get(char[] array)
          Finds and returns maximum value within given byte array.
static double get(double[] array)
          Finds and returns maximum value within given double array.
static float get(float[] array)
          Finds and returns maximum value within given float array.
static int get(int[] array)
          Finds and returns maximum value within given int array.
static long get(long[] array)
          Finds and returns maximum 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 maximum 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

Max

public Max()
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 maximum value within given long array.


get

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


get

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


get

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


get

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


get

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


get

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