JClass DesktopViews 6.3.0 API
Documentation

com.klg.jclass.util.formulae
Class Sort

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

public class Sort
extends Operation

This operation returns a sorted list of the given elements (secondary/nested lists are flattened)


Field Summary
 
Fields inherited from class com.klg.jclass.util.formulae.Operation
leftOperand, rightOperand
 
Constructor Summary
Sort(com.klg.jclass.util.formulae.Expression operand)
          Determine the Sorted order of the given set
Sort(com.klg.jclass.util.formulae.Expression operand1, com.klg.jclass.util.formulae.Expression operand2)
          Determine the Sorted order of a pair of sets
 
Method Summary
 com.klg.jclass.util.formulae.Result evaluate()
          Return the sorted result of 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

Sort

public Sort(com.klg.jclass.util.formulae.Expression operand)
Determine the Sorted order of the given set


Sort

public Sort(com.klg.jclass.util.formulae.Expression operand1,
            com.klg.jclass.util.formulae.Expression operand2)
Determine the Sorted order of a pair of sets

Method Detail

evaluate

public com.klg.jclass.util.formulae.Result evaluate()
Return the sorted result of the operands

Specified by:
evaluate in interface Expression
Specified by:
evaluate in class Operation
Returns:
The result of sorting the set

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