On Fri, 24 May 2002, Philip S Tellis wrote: > > I bet it could be done by defining an interface for HTML::Template filters > > (unless there's a standard interface that would be applicable). Then the > > user passes you references to objects that implement that interface. > > Yeah, that's what I've been thinking of, but if Function Objects exist > in java, then that's a possibility too.
Heh. I highly doubt that. In the church of pure objects there is only one true object type. There might be a standard interface like "Filter" or something. But I guarantee there's no special object type for functions! In fact, if you want to get technical, Java doesn't even have functions. It only has object methods and class methods. The idea of directly accessing a method without an object or a class just doesn't exist in Java. -sam --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
