On Sun, Apr 17, 2011 at 1:18 PM, Jody Garnett <[email protected]> wrote:
> I don't understand? We have an internal FunctionNameImpl; but the factory
> only allows me to call functionName( String name, int args). There is no way
> using the factory to make a FunctionName that includes the list of
> attributes.
>From your proposal:
interface FilterFactory {
....
/** function name */
FunctionName functionName(String name, int nargs);
FunctionName functionName(String name, int nargs, List<String> argNames);
...
}
Now looking at the interface without thinking about how it's
implemented I would gather
that:
- it's possible to have multiple functions named the same way,
provided they have
a different amount of arguments
- it's possible to have mutiple functions named in the same way, with the same
amount of arguments, provided they have different argument names.
Makes sense?
Cheers
Andrea
--
-------------------------------------------------------
Ing. Andrea Aime
GeoSolutions S.A.S.
Tech lead
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 962313
mob: +39 333 8128928
http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.youtube.com/user/GeoSolutionsIT
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf
-------------------------------------------------------
------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve
application availability and disaster protection. Learn more about boosting
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel