public AVList setValues(AVList list) { if (list == null) { String message = Logging.getMessage("nullValue.AttributesIsNull"); Logging.logger().severe(message); throw new ArgumentException(message); } var entries = list.getEntries(); foreach (var entry in entries) { setValue(entry.Key, entry.Value); } return(this); }