for ( int i = 0; i < rccs.length; ++i ) { RCC rcc = rccs[i]; StackTrace calleeStack = rcc.getLeafStack(depth); if ( calleeStack != null ) { ArrayList subList = (ArrayList)rccListByCallee.get(calleeStack); if ( subList == null ) { subList = new ArrayList(); rccListByCallee.put(calleeStack, subList); } subList.add(rcc); } }
mapRCCLeaves(rccListByCallee, (RCC[])rccList.toArray(new RCC[0]), depth);
	private void mapRCCLeaves(Map rccListByCallee, RCC[] rccs, int depth)	{		for ( int i = 0; i < rccs.length; ++i )		{			RCC rcc = rccs[i];			StackTrace calleeStack = rcc.getLeafStack(depth);			if ( calleeStack != null )			{				ArrayList subList = (ArrayList)rccListByCallee.get(calleeStack);				if ( subList == null )				{					subList = new ArrayList();					rccListByCallee.put(calleeStack, subList);				}				subList.add(rcc);			}		}	}