X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fcom%2Fstevesoft%2Fpat%2FBackG.java;h=69f7f61be5963a90c56716ac7178b4b4e01f16c3;hb=7c5caa07d0f487073d859589149a91ea2b893105;hp=72c4c9acf3525af6943fa0a7d75f91c6314f1de4;hpb=7bc226b58110fa26d9dbd3f0c78095d06909ffc3;p=jalview.git diff --git a/src/com/stevesoft/pat/BackG.java b/src/com/stevesoft/pat/BackG.java index 72c4c9a..69f7f61 100755 --- a/src/com/stevesoft/pat/BackG.java +++ b/src/com/stevesoft/pat/BackG.java @@ -1,46 +1,47 @@ -// -// This software is now distributed according to -// the Lesser Gnu Public License. Please see -// http://www.gnu.org/copyleft/lesser.txt for -// the details. -// -- Happy Computing! -// -package com.stevesoft.pat; - -import java.util.*; - -/** This class represents the \G pattern element. */ -class BackG - extends Pattern -{ - char c, altc, altc2; - int mask; - public BackG() - { - } - - public int matchInternal(int pos, Pthings pt) - { - return pos == pt.lastPos ? nextMatch(pos, pt) : -1; - } - - public String toString() - { - return "\\G" + nextString(); - } - - public patInt minChars() - { - return new patInt(1); - } - - public patInt maxChars() - { - return new patInt(1); - } - - Pattern clone1(Hashtable h) - { - return new BackG(); - } -} +// +// This software is now distributed according to +// the Lesser Gnu Public License. Please see +// http://www.gnu.org/copyleft/lesser.txt for +// the details. +// -- Happy Computing! +// +package com.stevesoft.pat; + +import java.util.*; + +/** This class represents the \G pattern element. */ +class BackG extends Pattern +{ + char c, altc, altc2; + + int mask; + + public BackG() + { + } + + public int matchInternal(int pos, Pthings pt) + { + return pos == pt.lastPos ? nextMatch(pos, pt) : -1; + } + + public String toString() + { + return "\\G" + nextString(); + } + + public patInt minChars() + { + return new patInt(1); + } + + public patInt maxChars() + { + return new patInt(1); + } + + Pattern clone1(Hashtable h) + { + return new BackG(); + } +}