Provides a copy of the clip-board data.<p>

@return the copied data
556157
public CmsSitemapClipboardData copy() {

        LinkedHashMap<CmsUUID, CmsClientSitemapEntry> deletions = new LinkedHashMap<CmsUUID, CmsClientSitemapEntry>();
        deletions.putAll(m_deletions);
        LinkedHashMap<CmsUUID, CmsClientSitemapEntry> modifications = new LinkedHashMap<CmsUUID, CmsClientSitemapEntry>();
        modifications.putAll(m_modifications);
        return new CmsSitemapClipboardData(deletions, modifications);
    }
1374340
public byte[] getBuffer() {
        if(buf == null)
            return null;
        if(offset == 0 && length == buf.length)
            return buf;
        else {
            byte[] retval=new byte[length];
            System.arraycopy(buf, offset, retval, 0, length);
            return retval;
        }
    }
1247113
public byte[] get() {
        byte[] cpy = new byte[bytes.length];
        System.arraycopy(bytes, 0, cpy, 0, bytes.length);
        return cpy;
    }
202432
@Override
  public UnsafeRow copy() {
    UnsafeRow rowCopy = new UnsafeRow(numFields);
    final byte[] rowDataCopy = new byte[sizeInBytes];
    Platform.copyMemory(
      baseObject,
      baseOffset,
      rowDataCopy,
      Platform.BYTE_ARRAY_OFFSET,
      sizeInBytes
    );
    rowCopy.pointTo(rowDataCopy, Platform.BYTE_ARRAY_OFFSET, sizeInBytes);
    return rowCopy;
  }
955257
public CmsHtmlList getList() {

        if ((m_list != null) && (m_list.getMetadata() == null)) {
            m_list.setMetadata(getMetadata(getClass().getName(), m_list.getId()));
        }
        return m_list;
    }
109436
public Map<Object, String> getTrimToSize() {

        if (m_trimToSize == null) {
            m_trimToSize = CmsCollectionsGenericWrapper.createLazyMap(new CmsTrimToSizeTransformer());
        }
        return m_trimToSize;
    }
104256
public byte[] getBytesF() {
		final int len = getInt();
		final byte[] bytes = new byte[len];
		System.arraycopy(buf, bufPosition, bytes, 0, bytes.length);
		bufPosition += bytes.length;
		return bytes;
	}
1282741
public CmsSitemapData getSitemapData() {

        if (m_sitemapData == null) {
            try {
                m_sitemapData = CmsVfsSitemapService.prefetch(
                    getRequest(),
                    getCmsObject().getRequestContext().getUri());
            } catch (CmsRpcException e) {
                LOG.error(e.getLocalizedMessage(), e);
            }
        }
        return m_sitemapData;
    }
790767
public byte[] toArray() {
    byte[] copy = new byte[length];
    System.arraycopy(data, offset, copy, 0, length);
    return copy;
  }
867724
public ByteBuffer getData() {
        if (this.buffer == null) {
            throw new IllegalStateException("ByteBuffer must have data before it is ready for use.");
        }
        final ByteBuffer copy = CausticUtil.createByteBuffer(buffer.capacity());
        buffer.rewind();
        copy.put(buffer);
        copy.flip();
        return copy;
    }
559140
public synchronized final byte[] getBytes() {
        byte[] dest = new byte[data.length];
        System.arraycopy(data, 0, dest, 0, dest.length);
        return dest;
    }
1331090
public byte[] getByteArray() {
        int lengthToCopy = getInt();
        byte[] byteArray = (lengthToCopy == 0) ? null : new byte[lengthToCopy];
        getBytes(lengthToCopy, byteArray, 0);
        return byteArray;
    }
396202
private void setClipboardData(CmsSitemapClipboardData clipboardData) throws CmsException {

        CmsObject cms = getCmsObject();
        CmsUser user = cms.getRequestContext().getCurrentUser();
        if (clipboardData != null) {
            JSONArray modified = new JSONArray();
            if (clipboardData.getModifications() != null) {
                for (CmsUUID id : clipboardData.getModifications().keySet()) {
                    if (id != null) {
                        modified.put(id.toString());
                    }
                }
            }
            user.setAdditionalInfo(ADDINFO_ADE_MODIFIED_LIST, modified.toString());
            JSONArray deleted = new JSONArray();
            if (clipboardData.getDeletions() != null) {
                for (CmsUUID id : clipboardData.getDeletions().keySet()) {
                    if (id != null) {
                        deleted.put(id.toString());
                    }
                }
            }
            user.setAdditionalInfo(ADDINFO_ADE_DELETED_LIST, deleted.toString());
            cms.writeUser(user);
        }
    }
1244196
public byte[] getBytes()
	{
		byte[] b = new byte[HEAD_SIZE];
		int bytesCopied = 0;

		System.arraycopy(Helpers.getBytesFromString(TAG_START, TAG_START.length(), ENC_TYPE), 0, b, 0, TAG_START.length());
		bytesCopied += TAG_START.length();
		b[bytesCopied++] = (byte) majorVersion;
		b[bytesCopied++] = (byte) minorVersion;
		b[bytesCopied++] = getFlagByte();
		System.arraycopy(Helpers.convertIntToDWord(tagSize), 0, b, bytesCopied, 4);
		bytesCopied += 4;

		return b;
	}
93441
private Map<FileInfo, FileInfo> getCopyToMap() {
        final Map<FileInfo, FileInfo> copyToMap = new HashMap<>();

        if (forceUnique) {
            forceUniqueFilter.copyToMap.forEach((dstFi, srcFi) -> {
                job.add(dstFi);
                copyToMap.put(dstFi, srcFi);
            });
        }

        for (final Map.Entry<URI, URI> e : reader.getCopyToMap().entrySet()) {
            final URI target = job.tempDirURI.relativize(e.getKey());
            final FileInfo targetFi = job.getFileInfo(target);
            final URI source = job.tempDirURI.relativize(e.getValue());
            final FileInfo sourceFi = job.getFileInfo(source);
            // Filter when copy-to was ignored (so target is not in job),
            // or where target is used directly
            if (targetFi == null ||
                    (targetFi != null && targetFi.src != null)) {
                continue;
            }
            copyToMap.put(targetFi, sourceFi);
        }

        return copyToMap;
    }
273065
public CmsCntPageData getCntPageData() {

        if (m_cntPageData == null) {
            try {
                m_cntPageData = CmsContainerpageService.prefetch(getRequest());
            } catch (@SuppressWarnings("unused") CmsRpcException e) {
                // ignore, should never happen, and it is already logged
            }
        }
        return m_cntPageData;
    }
153129
public EncodedElement getData() {
    EncodedElement result = new EncodedElement(_totalBits/8+1,_offset);
    //result.clear((int)_totalBits+1, _offset);
    writeLPC(_samples, _lastCount, _start,
        _increment, result, _frameSampleSize, _lowOrderBits,
        _precision, _shift, _quantizedCoeffs, _errors, _lpcOrder,rice);
    int totalBits = result.getTotalBits();
    this.lastEncodedSize = (int)totalBits;

    if(DEBUG_LEV > 0) {
      System.err.println("lastencodedSize set: "+this.lastEncodedSize);
      System.err.println("Subframe_LPC::getData(...): End");
    }
    return result;
  }