public UAProfile(
      @Nullable final List<String> aProfileUrls,
      @Nullable final Map<Integer, UAProfileDiff> aProfileDiffData) {
    final int nUrls = ContainerHelper.getSize(aProfileUrls);
    final int nDiffs = ContainerHelper.getSize(aProfileDiffData);
    if (nUrls == 0 && nDiffs == 0)
      throw new IllegalArgumentException("Neither profile nor diff data found!");

    if (nUrls > 1) s_aLogger.warn("Found more than one profile URL: " + aProfileUrls);
    m_sProfileUrl = ContainerHelper.getFirstElement(aProfileUrls);
    m_aProfileDiffData =
        ContainerHelper.isEmpty(aProfileDiffData)
            ? null
            : new TreeMap<Integer, UAProfileDiff>(aProfileDiffData);
  }
 @Nonnegative
 public int getIncomingRelationCount() {
   return ContainerHelper.getSize(m_aIncoming);
 }
 @Nonnegative
 public int getDiffCount() {
   return ContainerHelper.getSize(m_aProfileDiffData);
 }