public void clearCache(int cacheSize){
  paramCache=new Parameters[cacheSize];
  commandCache=new JasminCommand[cacheSize];
  cached=new boolean[cacheSize];
}

public void clearCache ( int cacheSize ) { paramCache = new Parameters [ cacheSize ] ; commandCache = new JasminCommand [ cacheSize ] ; cached = new boolean [ cacheSize ] ; }
clears the cache for commands and parameters and initializes it with an array of the given size .
