|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.cfpm.caves.za.ElementWithHighestOccurrence
public class ElementWithHighestOccurrence
This userfunction returns the element with the highest number of occurrences in a list.
Constructor Summary | |
---|---|
ElementWithHighestOccurrence()
|
Method Summary | |
---|---|
jess.Value |
call(jess.ValueVector vv,
jess.Context c)
calls the function with the given parameter and context from Jess. |
java.lang.String |
getName()
returns the name of the function in Jess |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ElementWithHighestOccurrence()
Method Detail |
---|
public java.lang.String getName()
getName
in interface jess.Userfunction
public jess.Value call(jess.ValueVector vv, jess.Context c) throws jess.JessException
call
in interface jess.Userfunction
vv
- the list of parametersc
- the Jess context
jess.JessException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |