Sometimes you may want to handle one or more items passed to a method.
Usually method overloading to handle each specific case is sufficient. But here is an example for treating a parameter as a sequence of items, even if only one item was passed.
Powered by a free Atlassian Confluence Open Source Project License granted to Codehaus. Evaluate Confluence today.