public class Count
extends org.nfunk.jep.function.PostfixMathCommand
| Constructor and Description |
|---|
Count()
Builds this function with a fixed number of one parameter
|
| Modifier and Type | Method and Description |
|---|---|
int |
count(Object object)
Counts the elements of an Object which may be a Collection, array, JSONArray, or string
representation of JSONArray.
|
void |
run(Stack stack) |
public void run(Stack stack) throws org.nfunk.jep.ParseException
run in interface org.nfunk.jep.function.PostfixMathCommandIrun in class org.nfunk.jep.function.PostfixMathCommandorg.nfunk.jep.ParseExceptionPostfixMathCommand.run(java.util.Stack)public int count(Object object)
object - the Object whose length is to the countedCopyright © 2020. All rights reserved.