/// <param name="refs"> /// the complete set of references. This should have been computed /// by applying updates to the advertised refs already discovered. /// </param> protected RefWriter(IDictionary <String, Ref> refs) { if (refs is RefMap) { this.refs = refs.Values; } else { this.refs = RefComparator.Sort(refs.Values); } }
/** * @param refs * the complete set of references. This should have been computed * by applying updates to the advertised refs already discovered. */ protected RefWriter(IEnumerable <Ref> refs) { this.refs = RefComparator.Sort(refs); }