This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I'm not sure if you understand what I am asking. I was wondering if java has a way to handle variable arguments in method calls like C. e.g. printf has a signature: const char *printf( const char *format, ... ); where '...' is a variable list of arguments where the number of variable arguments can not be known. If I want to process a variable number of arguments of various types, in C/C++(not sure about other languages) I can declare a method like: void foo( arg1, arg2, ... ); allowing me to process 2(arg1, arg2) to n arguments and process the n - 2 variable arguments in my method definition if I so choose. Does anyone know if Java provides for this? Thanks
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com