All Downloads are FREE. Search and download functionalities are using the official Maven repository.

it.ssc.io.MyObjectInputStream Maven / Gradle / Ivy

Go to download

This is a JSR331 interface for SSC (Software for the Calculation of the Simplex) is a java library for solving linear programming problems v. 3.0.1. SSC was designed and developed by Stefano Scarioli.

The newest version!
package it.ssc.io;

import java.io.IOException;
import java.io.InputStream;
import java.io.ObjectInputStream;
import java.io.ObjectStreamClass;

public class MyObjectInputStream extends ObjectInputStream {
	private Class my_class;
	
	 public Class resolveClass(ObjectStreamClass desc) throws IOException,  ClassNotFoundException {
		return my_class;
	 }

	 public MyObjectInputStream(InputStream in, Class my_class) throws IOException {
		 super(in);
		 this.my_class=my_class;
	 }
}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy