KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tctest > WithoutUID


1 /*
2  * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
3  */

4 package com.tctest;
5
6 import java.io.Serializable JavaDoc;
7
8 public class WithoutUID implements Serializable JavaDoc {
9   // NOTE: If you use a different compiler (other than javac), this number might be different
10
public static final long EXPECTED_UID = 5565025854900417463L;
11
12   // This "timmy" stuff is just to make this class a little\
13
// more interesting (ie. add some fields, method and what not)
14
private int timmy = 4;
15
16   public WithoutUID() {
17     // nada
18
}
19
20   public int getTimmy() {
21     return timmy;
22   }
23
24 }
25
Popular Tags