JClass DesktopViews 6.3.0 API
Documentation

com.klg.jclass.util.formulae
Class Ceiling

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

public class Ceiling
extends Operation

This is a concrete implementation for the ceiling operation. Ceiling is defined as "least integer greater than or equal." This is a unary operator, *???but can also work on lists???*.


Field Summary
 
Fields inherited from class com.klg.jclass.util.formulae.Operation
leftOperand, rightOperand
 
Constructor Summary
Ceiling(com.klg.jclass.util.formulae.Expression operand)
          Define a ceiling operation on the given Expression
Ceiling(Number operand)
          Define a ceiling operation on the given Number
 
Method Summary
 com.klg.jclass.util.formulae.Result evaluate()
          Return the least integer greater than or equal to the given value
 
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

Ceiling

public Ceiling(com.klg.jclass.util.formulae.Expression operand)
Define a ceiling operation on the given Expression


Ceiling

public Ceiling(Number operand)
Define a ceiling operation on the given Number

Method Detail

evaluate

public com.klg.jclass.util.formulae.Result evaluate()
Return the least integer greater than or equal to the given value

Specified by:
evaluate in interface Expression
Specified by:
evaluate in class Operation
Returns:
The ceiling of the given operand

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