ea22e9e69b914db23dc5c3f3f7c3d1e992e43da2
[jalview.git] / src / vamsas / objects / simple / Object.java
1 /**
2  * Object.java
3  *
4  * This file was auto-generated from WSDL
5  * by the Apache Axis 1.2RC2 Nov 16, 2004 (12:19:44 EST) WSDL2Java emitter.
6  */
7
8 /*
9 * Jalview - A Sequence Alignment Editor and Viewer
10 * Copyright (C) 2005 AM Waterhouse, J Procter, G Barton, M Clamp, S Searle
11 *
12 * This program is free software; you can redistribute it and/or
13 * modify it under the terms of the GNU General Public License
14 * as published by the Free Software Foundation; either version 2
15 * of the License, or (at your option) any later version.
16 *
17 * This program is distributed in the hope that it will be useful,
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
20 * GNU General Public License for more details.
21 *
22 * You should have received a copy of the GNU General Public License
23 * along with this program; if not, write to the Free Software
24 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
25 */
26
27 package vamsas.objects.simple;
28
29 public abstract class Object  implements java.io.Serializable {
30
31     public Object() {
32     }
33
34     private java.lang.Object __equalsCalc = null;
35     public synchronized boolean equals(java.lang.Object obj) {
36         if (!(obj instanceof Object)) return false;
37         Object other = (Object) obj;
38         if (obj == null) return false;
39         if (this == obj) return true;
40         if (__equalsCalc != null) {
41             return (__equalsCalc == obj);
42         }
43         __equalsCalc = obj;
44         boolean _equals;
45         _equals = true;
46         __equalsCalc = null;
47         return _equals;
48     }
49
50     private boolean __hashCodeCalc = false;
51     public synchronized int hashCode() {
52         if (__hashCodeCalc) {
53             return 0;
54         }
55         __hashCodeCalc = true;
56         int _hashCode = 1;
57         __hashCodeCalc = false;
58         return _hashCode;
59     }
60
61 }