Class RemMin


public class RemMin
extends Object
implements IAlgo
Removes and returns the minimum element in the host list. Assumes host list contains Integer objects.

Throws: NoSuchElementException
if the host list is empty.
Author:
Dung X. Nguyen - Copyright 1999 - All rights reserved.

Variable Index

 o Singleton

Constructor Index

 o RemMin ()

Method Index

 o nonNullCase (QFList, Object)
 o nullCase (QFList, Object)

Variables

 o Singleton
public static final RemMin Singleton

Constructors

 o RemMin
private  RemMin()

Methods

 o nullCase
public Object nullCase(QFList host, Object input)
Parameters:
host -
input - not used.
Returns:
 o nonNullCase
public Object nonNullCase(QFList host, Object input)
Parameters:
host -
input - not used.
Returns: