software/ncitbrowser/src/java/gov/nih/nci/evs/browser/bean/CartActionBean.java
/**
	 * Test if map contains other versions of a given scheme
	 * @param map
	 * @param uri
	 * @param version
	 * @return
	 */
Test if map contains other versions of a given scheme
@param map
@param uri
@param version
@return
Test if map contains other versions of a given scheme @param map @param uri @param version @return
private boolean schemeHasOtherVersion(HashMap<String, SchemeVersion> map,
			String uri, String version) {
		for (Iterator<Entry<String, SchemeVersion>> i = map.entrySet()
				.iterator(); i.hasNext();) {
			Entry<String, SchemeVersion> x = i.next();
			SchemeVersion vs = x.getValue();
			if (vs == null) return false;
			if (vs.uri.equals(uri) && !vs.version.equals(version))
				return true;
		}
		return false;
	}
private boolean schemeHasOtherVersion ( HashMap < String , SchemeVersion > map , String uri , String version ) { for ( Iterator < Entry < String , SchemeVersion > > i = map . entrySet ( ) . iterator ( ) ; i . hasNext ( ) ; ) { Entry < String , SchemeVersion > x = i . next ( ) ; SchemeVersion vs = x . getValue ( ) ; if ( vs == null ) return false ; if ( vs . uri . equals ( uri ) && ! vs . version . equals ( version ) ) return true ; } return false ; }
Test if map contains other versions of a given scheme
 @param map
 @param uri
 @param version
 @return
Test if map contains other versions of a given scheme @param map @param uri @param version @return