Projekt

Obecné

Profil

« Předchozí | Další » 

Revize 17b140fe

Přidáno uživatelem Michal Horký před asi 4 roky(ů)

re #7879

.classpath changed

Zobrazit rozdíly:

.gitignore
1
project/Deserializer/.classpath
2
project/Deserializer/.classpath
3
project/Deserializer/.classpath
4
project/.vscode/launch.json
demo_jh/Deserializer_tests/src/app/App.java
131 131
        try {
132 132
            System.out.println("Starting...");
133 133

  
134
            this.serialize(new samples.ok.Simple(), "serialized/simple_arrays.out");
134
            this.serialize(new samples.ok.Simple(), "serialized/simple.out");
135 135

  
136 136
            //samples.ok.SimpleChild test1 = this.deserialize("serialized/simple.out");
137 137

  
demo_jh/Deserializer_tests/src/samples/ok/Simple.java
4 4

  
5 5
public class Simple implements Serializable
6 6
{
7
    enum Level {
8
        LOW,
9
        MEDIUM,
10
        HIGH
11
    }
12

  
7 13
	private static final long serialVersionUID = 1L;
8 14

  
9 15
    private String pozdrav = "AHOJ";
......
12 18
    private int[] intArray = new int[3];
13 19
    private String[] stringArray = new String[3];
14 20

  
21
    private Level localEnum = Level.LOW; 
22

  
15 23
    public Simple() 
16 24
    {
17 25
        int locInt = 5;
project/Deserializer/src/Deserializer.java
159 159
		});
160 160
		
161 161
		//tests
162
		//Converter thread = new Converter(this, new File("simple_arrays.out"), new File("bcha.json"));
163
		//thread.start();
162
		Converter thread = new Converter(this, new File("simple.out"), new File("bcha.json"));
163
		thread.start();
164 164
	}
165 165
	
166 166
	private Scene createScene() {

Také k dispozici: Unified diff