Example usage for java.io Serializable interface-usage

List of usage examples for java.io Serializable interface-usage

Introduction

In this page you can find the example usage for java.io Serializable interface-usage.

Usage

From source file Base.java

class Sub1 extends Base implements Serializable {
    public void run() {
    }
}

class Sub2 extends Base implements Serializable {

From source file BasicBean.java

public class BasicBean implements Serializable {
    boolean property;

    public BasicBean() {
    }

From source file Main.java

public class Main implements Serializable {
    private Long id;

    private String name;

    public Main() {

From source file Main.java

@SuppressWarnings(value = { "unchecked", "serial" })
public class Main implements Serializable {
    public void openFile() {
        ArrayList a = new ArrayList();
        File file = new File("X:/java/doc.txt");
    }

From source file IDPermission.java

class IDPermission extends BasicPermission implements Serializable {
    String id = null;

    public IDPermission(String id) {
        super(id);
        this.id = id;

From source file Main.java

public class Main implements Serializable {
    private Long id;

    private String title;

    private String author;

From source file ArraySet.java

public class ArraySet extends AbstractSet implements Cloneable, Serializable {

    private ArrayList list;

    public ArraySet() {
        list = new ArrayList();

From source file Person.java

class Person implements Serializable {
    private String name = "Unknown";
    private String gender = "Unknown";
    private double height = Double.NaN;

    public Person(String name, String gender, double height) {

From source file ArrayEnumeration.java

/**
 * An ArrayEnumeration converts a Array to an Enumeration and allows it
 * to be serialized. 
 * <p>
 * @author Robin Sharp
 */

From source file Person.java

class Person implements Serializable {

    private String firstName;

    private String lastName;