Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
/*
* Copyright (c) CQSE GmbH
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.conqat.lib.commons.serialization.objects;
import java.io.DataInputStream;
import java.io.DataOutputStream;
import java.io.Externalizable;
import java.io.IOException;
import java.io.ObjectOutputStream;
import java.io.ObjectStreamConstants;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import org.conqat.lib.commons.serialization.SerializedEntityParser;
import org.conqat.lib.commons.serialization.SerializedEntityPool;
import org.conqat.lib.commons.serialization.SerializedEntitySerializer;
import org.conqat.lib.commons.serialization.classes.SerializedClass;
import org.conqat.lib.commons.serialization.classes.SerializedFieldBase;
import org.conqat.lib.commons.serialization.classes.SerializedPrimitiveFieldBase;
/**
* The values of an object corresponding to a single class, i.e. each object has multiple class
* values, one for each class in its hierarchy. This can store values for all declared
* (non-transient) fields of a class as well as additional data. The presence of both the fields and
* the additional data are optional depending on the serialization mechanism used (default
* {@link Serializable}, serializable with custom read/write methods, {@link Externalizable}).
*
* The old externalization protocol from Java versions before 1.2 is not supported by this class.
*/
public class SerializedClassValues {
/**
* Chunks of raw data (byte arrays) found before the field values. These are written by custom
* serialization or externalizable classes. If no fields are written, data is only put into
* {@link #preFieldData}. This list may be null to indicate no data.
*/
private List