262263264265266267268269270271272
Similarity similarity = getFameSpectrum(name).getSimilarity(); double sim; synchronized (similarity) { similarity.setUnknownSpectra(bigSpectrum); sim = similarity.calculateSimimlarity(); } return sim; } }