Updates container.<p>

@param data to be updated
772784
public void updateContainer(IndexedContainer data) {

        m_container.removeAllItems();
        m_container = data;
        setContainerDataSource(m_container);
        setItemIconPropertyId(PROP_ICON);
        setRowHeaderMode(RowHeaderMode.ICON_ONLY);

        setVisibleColumns(PROP_CAPTION, PROP_DESCRIPTION, PROP_OU);
        setColumnWidth(null, 40);
        this.refreshRowCache();

    }
557767
public void setValue(FieldContainer container, byte[] data)
   {
      if (data != null)
      {
         container.set(m_type, ((MPPUtility.getInt(data, m_offset) & m_mask) == 0) ? m_zeroValue : m_nonZeroValue);
      }
   }
583331
public void setData(List<CmsAliasTableRow> data, List<CmsRewriteAliasTableRow> rewriteData) {

        m_table.getLiveDataList().clear();
        m_table.getLiveDataList().addAll(data);
        m_rewriteTable.getLiveDataList().clear();
        m_rewriteTable.getLiveDataList().addAll(rewriteData);
    }
707516
protected void update(JSONObject data)
    {
        api.get().getClient().send(new JSONObject()
            .put("d", data)
            .put("op", WebSocketCode.PRESENCE).toString());
    }
18028
void updateItems(List<String> updatedItems) {

        Set<CmsUUID> ids = new HashSet<CmsUUID>();
        for (String id : updatedItems) {
            ids.add(new CmsUUID(id));
        }
        m_resultTable.update(ids, false);
    }
1342640
public synchronized void put(byte[] data) {
        references.remove(data);

        if (mainFilter.add(data)) {
            for (Integer i : SIZES) {
                if (data.length == i) {
                    fastBuffers.get(i).add(data);
                    return;
                }
            }
            if (data.length <= MAX_SIZE) {
                return;
            }
            byteBuffer.add(data);
        }
    }
224710
public void put(int[] data) {
    final int l = data.length;
    for(int i = 0; i < l; i++) {
      put(data[i]);
    }
  }
222574
public void setData(JSONObject data) {
    try {
      Map<String, Object> map = new HashMap<String, Object>();
      Iterator iter = data.keySet().iterator();
      while (iter.hasNext()) {
        String key = (String) iter.next();
        Object value = data.get(key);
        map.put(key, value);
      }
      this.pushData.put("data", map);
    } catch (Exception exception) {
      LOGGER.w(exception);
    }
  }
1292417
public void update(final int[] data) {
    if ((data == null) || (data.length == 0)) { return; }
    final long[] arr = hash(data, seed);
    hashUpdate(arr[0], arr[1]);
  }
426161
public void setData(byte[] data) {
        // There are always two bytes of payload in the message -- the
        // slave ID and the run status indicator.
        if (data == null) {
            m_length = 2;
            m_data = new byte[0];

            return;
        }

        if (data.length > 249) {
            throw new IllegalArgumentException("data length limit exceeded");
        }

        m_length = data.length + 2;

        m_data = new byte[data.length];
        System.arraycopy(data, 0, m_data, 0, data.length);
    }
1132482
public void updateBackupElements(Map<String, CmsContainerElementData> updateElements) {

        ArrayList<CmsContainerPageElementPanel> updatedList = new ArrayList<CmsContainerPageElementPanel>();
        String containerId = m_groupContainer.getContainerId();
        for (CmsContainerPageElementPanel element : m_backUpElements) {
            if (updateElements.containsKey(element.getId())
                && CmsStringUtil.isNotEmptyOrWhitespaceOnly(
                    updateElements.get(element.getId()).getContents().get(containerId))) {
                CmsContainerElementData elementData = updateElements.get(element.getId());
                try {
                    CmsContainerPageElementPanel replacer = m_controller.getContainerpageUtil().createElement(
                        elementData,
                        m_groupContainer,
                        false);
                    if (element.getInheritanceInfo() != null) {
                        // in case of inheritance container editing, keep the inheritance info
                        replacer.setInheritanceInfo(element.getInheritanceInfo());
                    }
                    updatedList.add(replacer);

                } catch (Exception e) {
                    // in this case keep the old version
                    updatedList.add(element);
                }
            } else {
                updatedList.add(element);
            }
        }
        m_backUpElements = updatedList;
    }
411129
public static void setSreSpecificData(SRESpecificDataContainer container, Object data) {
		assert container != null;
		container.$setSreSpecificData(data);
	}
838184
public void setData(byte[] data, boolean append) {
	lastModified = System.currentTimeMillis();

	// set data
	if (append) {
	    if (this.data != null && data != null) {
		byte[] newData = new byte[this.data.length + data.length];
		int i = 0;
		for (; i < this.data.length; i++) {
		    newData[i] = this.data[i];
		}
		for (; i < this.data.length + data.length; i++) {
		    newData[i] = data[i - this.data.length];
		}
		this.data = newData;
	    }
	    else if (data != null) {
		this.data = data;
	    }
	}
	else {
	    this.data = data;
	}

	// set type
	if (this.data != null) this.type = TYPE_FILE;

    }
150811
public void setEditedData(List<CmsAliasTableRow> data) {

        m_editedData = new ArrayList<CmsAliasTableRow>();
        m_editedData.addAll(data);
    }
1022938
public void put(int data)
    {
        // If the buffer is small.
        if (mBuffer.capacity() < (mLength + 1))
        {
            expandBuffer(mLength + ADDITIONAL_BUFFER_SIZE);
        }

        mBuffer.put((byte)data);
        ++mLength;
    }
948234
protected void addHttpData(InterfaceHttpData data) {
        if (data == null) {
            return;
        }
        List<InterfaceHttpData> datas = bodyMapHttpData.get(data.getName());
        if (datas == null) {
            datas = new ArrayList<InterfaceHttpData>(1);
            bodyMapHttpData.put(data.getName(), datas);
        }
        datas.add(data);
        bodyListHttpData.add(data);
    }
567535
public void writeData(String data) {
        _buffer.append("<![CDATA[");
        _buffer.append( data);
        _buffer.append( "]]>");
    }