lrs.visitor
Class GetMax

java.lang.Object
  extended by lrs.visitor.AGetExtrema
      extended by lrs.visitor.GetMax
All Implemented Interfaces:
IAlgo

public class GetMax
extends AGetExtrema


Field Summary
static GetMax Singleton
           
 
Constructor Summary
private GetMax()
           
 
Method Summary
 java.lang.Object emptyCase(LRStruct host, java.lang.Object... param)
          Operates on an empty LRStruct host, given an input object.
 java.lang.Object nonEmptyCase(LRStruct host, java.lang.Object... param)
          Operates on a non-empty LRStruct host, given an input object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

Singleton

public static GetMax Singleton
Constructor Detail

GetMax

private GetMax()
Method Detail

emptyCase

public java.lang.Object emptyCase(LRStruct host,
                                  java.lang.Object... param)
Description copied from interface: IAlgo
Operates on an empty LRStruct host, given an input object.

Specified by:
emptyCase in interface IAlgo
Specified by:
emptyCase in class AGetExtrema
Parameters:
host -
param -
Returns:
an appropriate output object.

nonEmptyCase

public java.lang.Object nonEmptyCase(LRStruct host,
                                     java.lang.Object... param)
Description copied from interface: IAlgo
Operates on a non-empty LRStruct host, given an input object.

Specified by:
nonEmptyCase in interface IAlgo
Specified by:
nonEmptyCase in class AGetExtrema
Parameters:
host -
param -
Returns:
an appropriate output object.