Formatting
[jalview.git] / src / vamsas / objects / simple / Secstructpred.java
index 42c36d2..8b334f4 100755 (executable)
@@ -7,68 +7,86 @@
 
 package vamsas.objects.simple;
 
-public class Secstructpred  implements java.io.Serializable {
-    private java.lang.String output;
+public class Secstructpred
+    implements java.io.Serializable
+{
+  private java.lang.String output;
 
-    public Secstructpred() {
-    }
-
-    public Secstructpred(
-           java.lang.String output) {
-           this.output = output;
-    }
+  public Secstructpred()
+  {
+  }
 
+  public Secstructpred(
+      java.lang.String output)
+  {
+    this.output = output;
+  }
 
-    /**
-     * Gets the output value for this Secstructpred.
-     * 
-     * @return output
-     */
-    public java.lang.String getOutput() {
-        return output;
-    }
+  /**
+   * Gets the output value for this Secstructpred.
+   *
+   * @return output
+   */
+  public java.lang.String getOutput()
+  {
+    return output;
+  }
 
+  /**
+   * Sets the output value for this Secstructpred.
+   *
+   * @param output
+   */
+  public void setOutput(java.lang.String output)
+  {
+    this.output = output;
+  }
 
-    /**
-     * Sets the output value for this Secstructpred.
-     * 
-     * @param output
-     */
-    public void setOutput(java.lang.String output) {
-        this.output = output;
+  private java.lang.Object __equalsCalc = null;
+  public synchronized boolean equals(java.lang.Object obj)
+  {
+    if (! (obj instanceof Secstructpred))
+    {
+      return false;
     }
-
-    private java.lang.Object __equalsCalc = null;
-    public synchronized boolean equals(java.lang.Object obj) {
-        if (!(obj instanceof Secstructpred)) return false;
-        Secstructpred other = (Secstructpred) obj;
-        if (obj == null) return false;
-        if (this == obj) return true;
-        if (__equalsCalc != null) {
-            return (__equalsCalc == obj);
-        }
-        __equalsCalc = obj;
-        boolean _equals;
-        _equals = true && 
-            ((this.output==null && other.getOutput()==null) || 
-             (this.output!=null &&
-              this.output.equals(other.getOutput())));
-        __equalsCalc = null;
-        return _equals;
+    Secstructpred other = (Secstructpred) obj;
+    if (obj == null)
+    {
+      return false;
+    }
+    if (this == obj)
+    {
+      return true;
     }
+    if (__equalsCalc != null)
+    {
+      return (__equalsCalc == obj);
+    }
+    __equalsCalc = obj;
+    boolean _equals;
+    _equals = true &&
+        ( (this.output == null && other.getOutput() == null) ||
+         (this.output != null &&
+          this.output.equals(other.getOutput())));
+    __equalsCalc = null;
+    return _equals;
+  }
 
-    private boolean __hashCodeCalc = false;
-    public synchronized int hashCode() {
-        if (__hashCodeCalc) {
-            return 0;
-        }
-        __hashCodeCalc = true;
-        int _hashCode = 1;
-        if (getOutput() != null) {
-            _hashCode += getOutput().hashCode();
-        }
-        __hashCodeCalc = false;
-        return _hashCode;
+  private boolean __hashCodeCalc = false;
+  public synchronized int hashCode()
+  {
+    if (__hashCodeCalc)
+    {
+      return 0;
+    }
+    __hashCodeCalc = true;
+    int _hashCode = 1;
+    if (getOutput() != null)
+    {
+      _hashCode += getOutput().hashCode();
     }
+    __hashCodeCalc = false;
+    return _hashCode;
+  }
 
 }