# com.beasys.commerce.util
MethodCache Class

public class MethodCache
extends `Object`

Hierarchy
  `Object`
  `MethodCache`

## Field Summary

`protected `LinkedList`` | `cache` LinkedList

## Constructor Summary

MethodCache() Default constructor.

## Method Summary

`public static `MethodCache`` | `getInstance`() Get instance.
`public `Method`` | `getMethod`(`Class` c, `String` aName, `Class`[] theParams) Get method.
`public static void` | `main`(`String`[] args) Main - test program.
`public int` | `testMethod`(`String` aString) Test method.

Methods from class `java.lang.`Object``
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

## Field Detail

### cache

    protected LinkedList cache

## Constructor Detail

### MethodCache

    protected MethodCache()

  Default constructor.

## Method Detail

### getInstance() Method

    public static MethodCache getInstance()

Get instance.

#### Returns

`MethodCache`

### getMethod(Class, String, Class[]) Method

    public Method getMethod(Class c,
                            String aName,
                            Class[] theParams)

Get method.

#### Returns

`Method`

### main(String[]) Method

    public static void main(String[] args)

Main - test program.

### testMethod(String) Method

    public int testMethod(String aString)

Test method.

#### Returns

`int`