JAL-1807 Bob's JalviewJS prototype first commit
[jalviewjs.git] / bin / com / stevesoft / pat / NullPattern.js
1 Clazz.declarePackage ("com.stevesoft.pat");\r
2 Clazz.load (["com.stevesoft.pat.Pattern"], "com.stevesoft.pat.NullPattern", ["com.stevesoft.pat.patInt"], function () {\r
3 c$ = Clazz.declareType (com.stevesoft.pat, "NullPattern", com.stevesoft.pat.Pattern);\r
4 Clazz.overrideMethod (c$, "toString", \r
5 function () {\r
6 return this.nextString ();\r
7 });\r
8 Clazz.overrideMethod (c$, "matchInternal", \r
9 function (p, pt) {\r
10 return this.nextMatch (p, pt);\r
11 }, "~N,com.stevesoft.pat.Pthings");\r
12 Clazz.overrideMethod (c$, "maxChars", \r
13 function () {\r
14 return  new com.stevesoft.pat.patInt (0);\r
15 });\r
16 Clazz.overrideMethod (c$, "clone1", \r
17 function (h) {\r
18 return  new com.stevesoft.pat.NullPattern ();\r
19 }, "java.util.Hashtable");\r
20 });\r