This stores a method (or class) name and parameters.
This replaces the original key scheme which used to build the key by concatenating the method name and parameters class names as one string with the exception that primitive types were converted to their object class equivalents.
The key is still based on the same information, it is just wrapped in an object instead. Primitive type classes are converted to they object equivalent to make a key; int foo(int) and int foo(Integer) do generate the same key.
A key can be constructed either from arguments (array of objects) or from parameters (array of class). Roughly 3x faster than string key to access the map & uses less memory. For the parameters methods: @author Jason van Zyl @author Bob McWhirter @author Christoph Reck @author Geir Magnusson Jr. @author Attila Szegedi @author Nathan Bubna
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|