John wrote
If the desired MethodType is available, you can also use
MethodType.parameterList to get a List of the parameters (at O(1) likely
allocation cost). From thatlist you can also subList to
specify the desired dropped parameter types.
Interesting thought. Upon exa
On Apr 6, 2011, at 3:10 PM, Rémi Forax wrote:
> You can also use the dropArguments that takes a List and use
> Arrays.asList() followed by subList().
If the desired MethodType is available, you can also use
MethodType.parameterList to get a List of the parameters (at O(1) likely
allocation cost
On 04/06/2011 08:52 PM, Mark Roos wrote:
In reading John's blog I saw a mention about changing dropArguments,
perhaps providing a simpler version?
I would like that.
In my code dropArguments is used to drop all but the first argument
before a bind and test for the
test branch of guardWtihTest
In reading John's blog I saw a mention about changing dropArguments,
perhaps providing a simpler version?
I would like that.
In my code dropArguments is used to drop all but the first argument before
a bind and test for the
test branch of guardWtihTest. Mine is a special case where all of the