Merge branch 'master' of https://source.jalview.org/git/jalviewjs.git
[jalviewjs.git] / site / j2s / com / stevesoft / pat / NoPattern.js
1 Clazz.declarePackage ("com.stevesoft.pat");
2 Clazz.load (["com.stevesoft.pat.Pattern"], "com.stevesoft.pat.NoPattern", null, function () {
3 c$ = Clazz.declareType (com.stevesoft.pat, "NoPattern", com.stevesoft.pat.Pattern);
4 Clazz.overrideMethod (c$, "toString", 
5 function () {
6 return "(?e=#)[^#d#D]";
7 });
8 Clazz.overrideMethod (c$, "matchInternal", 
9 function (i, p) {
10 return -1;
11 }, "~N,com.stevesoft.pat.Pthings");
12 Clazz.overrideMethod (c$, "clone1", 
13 function (h) {
14 return  new com.stevesoft.pat.NoPattern ();
15 }, "java.util.Hashtable");
16 });