JClass DesktopViews 6.3.0 API
Documentation

com.klg.jclass.util.formulae
Class Min

java.lang.Object
  |
  +--com.klg.jclass.util.formulae.Operation
        |
        +--com.klg.jclass.util.formulae.Min
All Implemented Interfaces:
Cloneable, Expression

public class Min
extends Operation

This is a concrete implementation for the min operation. Min can be determined for a pair of elements or across a list.


Field Summary
 
Fields inherited from class com.klg.jclass.util.formulae.Operation
leftOperand, rightOperand
 
Constructor Summary
Min(com.klg.jclass.util.formulae.Expression operand)
          Minimum across the given operand (usually a list of expressions)
Min(com.klg.jclass.util.formulae.Expression left, com.klg.jclass.util.formulae.Expression right)
          Min of a pair of Expressions
Min(com.klg.jclass.util.formulae.Expression left, Number right)
          Min of an Expression and a Number
Min(Number left, com.klg.jclass.util.formulae.Expression right)
          Min of a Number and an Expression
Min(Number left, Number right)
          Min of two Numbers
 
Method Summary
 com.klg.jclass.util.formulae.Result evaluate()
          Return the minimum value among the operands
 
Methods inherited from class com.klg.jclass.util.formulae.Operation
clone
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Min

public Min(com.klg.jclass.util.formulae.Expression operand)
Minimum across the given operand (usually a list of expressions)


Min

public Min(com.klg.jclass.util.formulae.Expression left,
           com.klg.jclass.util.formulae.Expression right)
Min of a pair of Expressions


Min

public Min(com.klg.jclass.util.formulae.Expression left,
           Number right)
Min of an Expression and a Number


Min

public Min(Number left,
           com.klg.jclass.util.formulae.Expression right)
Min of a Number and an Expression


Min

public Min(Number left,
           Number right)
Min of two Numbers

Method Detail

evaluate

public com.klg.jclass.util.formulae.Result evaluate()
Return the minimum value among the operands

Specified by:
evaluate in interface Expression
Specified by:
evaluate in class Operation
Returns:
The minimum value in any operand

Copyright © 2004 Quest Software Inc..
All rights reserved.