Formatting
[jalview.git] / src / com / stevesoft / pat / BackG.java
index 78115f8..72c4c9a 100755 (executable)
@@ -6,21 +6,41 @@
 //    -- Happy Computing!\r
 //\r
 package com.stevesoft.pat;\r
-import java.util.Hashtable;\r
+\r
+import java.util.*;\r
 \r
 /** This class represents the \G pattern element. */\r
-class BackG extends Pattern {\r
-    char c,altc,altc2;\r
-    int mask;\r
-    public BackG() {\r
-    }\r
-    public int matchInternal(int pos,Pthings pt) {\r
-        return pos==pt.lastPos ? nextMatch(pos,pt) : -1;\r
-    }\r
-    public String toString() {\r
-        return "\\G"+nextString();\r
-    }\r
-    public patInt minChars() { return new patInt(1); }\r
-    public patInt maxChars() { return new patInt(1); }\r
-    Pattern clone1(Hashtable h) { return new BackG(); }\r
+class BackG\r
+    extends Pattern\r
+{\r
+  char c, altc, altc2;\r
+  int mask;\r
+  public BackG()\r
+  {\r
+  }\r
+\r
+  public int matchInternal(int pos, Pthings pt)\r
+  {\r
+    return pos == pt.lastPos ? nextMatch(pos, pt) : -1;\r
+  }\r
+\r
+  public String toString()\r
+  {\r
+    return "\\G" + nextString();\r
+  }\r
+\r
+  public patInt minChars()\r
+  {\r
+    return new patInt(1);\r
+  }\r
+\r
+  public patInt maxChars()\r
+  {\r
+    return new patInt(1);\r
+  }\r
+\r
+  Pattern clone1(Hashtable h)\r
+  {\r
+    return new BackG();\r
+  }\r
 }\r