private static Table getTable(double emax, double fmax, int lmax) { Design design = new Design(emax,fmax,lmax); synchronized(_tables) { Table table = _tables.get(design); if (table==null) table = makeTable(design); return table; } }
++nsinc; int lsinc = lmax; Table table = makeTable(nsinc,lsinc,kwin); table.design = new Design(emax,fmax,lmax);