/*
 * Java Genetic Algorithm Library (@__identifier__@).
 * Copyright (c) @__year__@ Franz Wilhelmstötter
 *
 * 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.
 *
 * Author:
 *    Franz Wilhelmstötter (franz.wilhelmstoetter@gmail.com)
 */
package io.jenetics;

/**
 * @author <a href="mailto:franz.wilhelmstoetter@gmail.com">Franz Wilhelmstötter</a>
 * @version !__version__!
 * @since !__version__!
 */
public class Serial {
}

@@ -759,16 +759,133 @@
 etics;%0A%0A
+import java.io.Externalizable;%0Aimport java.io.IOException;%0Aimport java.io.ObjectInput;%0Aimport java.io.ObjectOutput;%0A%0A
 /**%0A * @
@@ -1023,28 +1023,379 @@
  */%0A
-public class Serial %7B
+final class Serial implements Externalizable %7B%0A%0A%0A%09byte _type;%0A%09Object _object;%0A%0A%09Serial(final byte type, final Object object) %7B%0A%09%09_type = type;%0A%09%09_object = object;%0A%09%7D%0A%0A%09public Serial() %7B%0A%09%7D%0A%0A%09@Override%0A%09public void writeExternal(ObjectOutput out) throws IOException %7B%0A%09%7D%0A%0A%09@Override%0A%09public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException %7B%0A%09%7D
 %0A%7D%0A

Add 'Serial' serialization proxy class.