Esempio n. 1
0
 /*! Since using lazy eval, check to see if there is memory to cache a CPF
  * \return true if it can, false else wise
  */
 public boolean canCache() {
   int Max = CacheManager.getInstance().getMax();
   int Cur = 1;
   for (int i = 0; i < _SizeBuffer.length; i++) {
     Cur *= _SizeBuffer[i];
     if (Cur >= Max) return false;
   }
   CacheManager.getInstance().grab(Cur);
   return true;
 }
Esempio n. 2
0
 public Options(String[] args) {
   CacheManager.getInstance();
   _map = new HashMap();
   _files = new ArrayList();
   _RENDERHTML = false;
   parseArgs(args);
 }
Esempio n. 3
0
 public Options() {
   CacheManager.getInstance();
   _map = new HashMap();
   _files = new ArrayList();
   _RENDERHTML = false;
 }