Code example for TreeMap

Methods: firstKey, putAll

0
		} 
	} 
	 
	private void getMostFrequentOpenUDID() { 
		if (mReceivedOpenUDIDs.isEmpty() == false) {
			final TreeMap<String,Integer> sorted_OpenUDIDS = new TreeMap(new ValueComparator());
			sorted_OpenUDIDS.putAll(mReceivedOpenUDIDs);
         
			OpenUDID = sorted_OpenUDIDS.firstKey();
		} 
	} 
	 
	 
	private static String OpenUDID = null;
	private static boolean mInitialized = false; 
 
	/** 
	 * The Method to call to get OpenUDID 
	 * @return the OpenUDID 
	 */ 
	public static String getOpenUDID() {