public GeometryFunction find(String name,int argCount){
  for (Iterator i=functions.iterator(); i.hasNext(); ) {
    GeometryFunction func=(GeometryFunction)i.next();
    String funcName=func.getName();
    if (funcName.equalsIgnoreCase(name) && func.getParameterTypes().length == argCount)     return func;
  }
  return null;
}

public GeometryFunction find ( String name , int argCount ) { for ( Iterator i = functions . iterator ( ) ; i . hasNext ( ) ; ) { GeometryFunction func = ( GeometryFunction ) i . next ( ) ; String funcName = func . getName ( ) ; if ( funcName . equalsIgnoreCase ( name ) && func . getParameterTypes ( ) . length == argCount ) return func ; } return null ; }
finds the first function which matches the given name and argument count .
