add a collect method using vararg
Merge pull request #1 from fwbrasil/collect-varargs

add a collect method using vararg