synchronized(lock) {
    public boolean containsAsset(AssetTechSpecInterface asset) {        AssetTechSpecInterface atsi;        Iterator iter = assets.iterator();        while (iter.hasNext()) {            atsi = (AssetTechSpecInterface)iter.next();            if (atsi.getAssetID().equals(asset.getAssetID())) {                return true;            }        }        return false;            }