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)
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 |
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
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