This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Is this possible? Certainly. Without doing math in the signature? Well, without doing anything particularly complex. I mean the standard "i++" is a form of math. You can replace it with other statements though, such as:
The last in particular is probably a bad idea for readability, since it's not immediately obvious what j and k are, or how many times this loop will execute. But it's legal if you want to do something like that...