| Class | Line # | Actions | |||
|---|---|---|---|---|---|
| oneChar | 13 | 23 | 14 | 0.880% |
|
Class oneChar |
Line # 13 |
23 |
14 |
0.880% |
|---|---|---|---|---|
| oneChar(char) oneChar(char) | 1919 | 14.014 | 3.03 | 0.8333333 0.833333383.3% |
| matchInternal(int,Pthings) : int matchInternal(int,Pthings) : int | 4444 | 5.05 | 7.07 | 0.71428573 0.7142857371.4% |
| toString() : String toString() : String | 5757 | 1.01 | 1.01 | 0.0 0.00% |
| minChars() : patInt minChars() : patInt | 6262 | 1.01 | 1.01 | 1.0 1.0100% |
| maxChars() : patInt maxChars() : patInt | 6767 | 1.01 | 1.01 | 1.0 1.0100% |
| clone1(Hashtable) : Pattern clone1(Hashtable) : Pattern | 7272 | 1.01 | 1.01 | 1.0 1.0100% |
|
0.8
|
jalview.util.UrlLinkTest.testMakeUrlWithRegexjalview.util.UrlLinkTest.testMakeUrlWithRegex | 1PASS | ||
|
0.8
|
jalview.io.FormatAdapterTest.testRoundTripjalview.io.FormatAdapterTest.testRoundTrip | 1PASS | ||
|
0.74285716
|
jalview.io.RNAMLfileTest.testRnamlToStockholmIOjalview.io.RNAMLfileTest.testRnamlToStockholmIO | 1PASS | ||
|
0.6857143
|
jalview.io.StockholmFileTest.dbrefOutputjalview.io.StockholmFileTest.dbrefOutput | 1PASS | ||
|
0.6857143
|
jalview.io.StockholmFileTest.pfamFileIOjalview.io.StockholmFileTest.pfamFileIO | 1PASS | ||
|
0.6857143
|
jalview.project.Jalview2xmlTests.testRNAStructureRecoveryjalview.project.Jalview2xmlTests.testRNAStructureRecovery | 1PASS | ||
|
0.6857143
|
jalview.io.StockholmFileTest.curlyWUSSsecondaryStructureForRNASequencejalview.io.StockholmFileTest.curlyWUSSsecondaryStructureForRNASequence | 1PASS | ||
|
0.6857143
|
jalview.io.StockholmFileTest.rfamFileIOjalview.io.StockholmFileTest.rfamFileIO | 1PASS | ||
|
0.6857143
|
jalview.project.Jalview2xmlTests.testStoreAndRestoreIDwidthAndAnnotationHeightjalview.project.Jalview2xmlTests.testStoreAndRestoreIDwidthAndAnnotationHeight | 1PASS | ||
|
0.6857143
|
jalview.project.Jalview2xmlTests.viewRefPdbAnnotationjalview.project.Jalview2xmlTests.viewRefPdbAnnotation | 1PASS | ||
|
0.6857143
|
jalview.io.NewickFileTests.testTreeIOjalview.io.NewickFileTests.testTreeIO | 1PASS | ||
|
0.6857143
|
jalview.io.NewickFileTests.testTreeIOjalview.io.NewickFileTests.testTreeIO | 1PASS | ||
|
0.6857143
|
jalview.io.StockholmFileTest.descriptionLineOutputjalview.io.StockholmFileTest.descriptionLineOutput | 1PASS | ||
|
0.6857143
|
jalview.project.Jalview2xmlTests.noDuplicatePdbMappingsMadejalview.project.Jalview2xmlTests.noDuplicatePdbMappingsMade | 1PASS | ||
|
0.6857143
|
jalview.io.StockholmFileTest.pfamFileDataExtractionjalview.io.StockholmFileTest.pfamFileDataExtraction | 1PASS | ||
|
0.6857143
|
jalview.project.Jalview2xmlTests.testSaveAndLoadAnnotationBasedTreejalview.project.Jalview2xmlTests.testSaveAndLoadAnnotationBasedTree | 1PASS | ||
|
0.6857143
|
jalview.io.RNAMLfileTest.testRnamlSeqImportjalview.io.RNAMLfileTest.testRnamlSeqImport | 1PASS | ||
|
0.6857143
|
jalview.project.Jalview2xmlTests.testCopyViewSettingsjalview.project.Jalview2xmlTests.testCopyViewSettings | 1PASS | ||
|
0.6857143
|
jalview.project.Jalview2xmlTests.testAutoShowOverviewForLegacyProjectsjalview.project.Jalview2xmlTests.testAutoShowOverviewForLegacyProjects | 1PASS | ||
|
0.6857143
|
jalview.project.Jalview2xmlTests.testSaveAndLoadAnnotationsPropertiesjalview.project.Jalview2xmlTests.testSaveAndLoadAnnotationsProperties | 1PASS | ||
|
0.6857143
|
jalview.io.StockholmFileTest.secondaryStructureForRNASequencejalview.io.StockholmFileTest.secondaryStructureForRNASequence | 1PASS | ||
|
0.6857143
|
jalview.io.NewickFileTests.testTreeIOjalview.io.NewickFileTests.testTreeIO | 1PASS | ||
|
0.6857143
|
jalview.io.StockholmFileTest.fullWUSSsecondaryStructureForRNASequencejalview.io.StockholmFileTest.fullWUSSsecondaryStructureForRNASequence | 1PASS | ||
|
0.6857143
|
jalview.io.StockholmFileTest.stockholmFileRnaSSAlphaCharsjalview.io.StockholmFileTest.stockholmFileRnaSSAlphaChars | 1PASS | ||
|
0.6857143
|
jalview.project.Jalview2xmlTests.testStoreAndRecoverExpandedviewsjalview.project.Jalview2xmlTests.testStoreAndRecoverExpandedviews | 1PASS | ||
|
0.6857143
|
jalview.project.Jalview2xmlTests.testStoreAndRecoverReferenceSeqSettingsjalview.project.Jalview2xmlTests.testStoreAndRecoverReferenceSeqSettings | 1PASS | ||
|
0.6857143
|
jalview.project.Jalview2xmlTests.gatherViewsHerejalview.project.Jalview2xmlTests.gatherViewsHere | 1PASS | ||
|
0.6571429
|
jalview.datamodel.PAEContactMatrixTest.testSeqAssociatedPAEMatrixjalview.datamodel.PAEContactMatrixTest.testSeqAssociatedPAEMatrix | 1PASS | ||
|
0.6571429
|
jalview.analysis.AverageDistanceEngineTest.testUPGMAEnginejalview.analysis.AverageDistanceEngineTest.testUPGMAEngine | 1PASS | ||
|
0.6571429
|
jalview.project.Jalview2xmlTests.testPAEsaveRestorejalview.project.Jalview2xmlTests.testPAEsaveRestore | 1PASS | ||
|
0.62857145
|
jalview.bin.CommandsTest2.do_structureOpeningArgsTestjalview.bin.CommandsTest2.do_structureOpeningArgsTest | 1PASS | ||
|
0.62857145
|
jalview.ext.jmol.JmolViewerTest.testSingleSeqViewJMoljalview.ext.jmol.JmolViewerTest.testSingleSeqViewJMol | 1PASS | ||
|
0.62857145
|
jalview.analysis.ParsePropertiesTest.testGetScoresFromDescription_wordBoundariesjalview.analysis.ParsePropertiesTest.testGetScoresFromDescription_wordBoundaries | 1PASS | ||
|
0.62857145
|
jalview.bin.CommandsTest2.do_structureOpeningArgsTestjalview.bin.CommandsTest2.do_structureOpeningArgsTest | 1PASS | ||
|
0.62857145
|
jalview.bin.CommandsTest2.do_structureOpeningArgsTestjalview.bin.CommandsTest2.do_structureOpeningArgsTest | 1PASS | ||
|
0.62857145
|
jalview.gui.StructureChooserTest.openStructureFileForSequenceTestjalview.gui.StructureChooserTest.openStructureFileForSequenceTest | 1PASS | ||
|
0.62857145
|
jalview.ext.jmol.JmolParserTest.testFileParserjalview.ext.jmol.JmolParserTest.testFileParser | 1PASS | ||
|
0.62857145
|
jalview.ext.jmol.JmolViewerTest.testAddStrToSingleSeqViewJMoljalview.ext.jmol.JmolViewerTest.testAddStrToSingleSeqViewJMol | 1PASS | ||
|
0.62857145
|
jalview.analysis.FinderTest.testFindAll_caseSensitivejalview.analysis.FinderTest.testFindAll_caseSensitive | 1PASS | ||
|
0.62857145
|
jalview.bin.CommandsTest2.do_structureOpeningArgsTestjalview.bin.CommandsTest2.do_structureOpeningArgsTest | 1PASS | ||
|
0.62857145
|
jalview.bin.CommandsTest2.do_structureOpeningArgsTestjalview.bin.CommandsTest2.do_structureOpeningArgsTest | 1PASS | ||
|
0.62857145
|
jalview.gui.StructureChooserTest.openStructureFileForSequenceTestjalview.gui.StructureChooserTest.openStructureFileForSequenceTest | 1PASS | ||
|
0.62857145
|
jalview.util.DBRefUtilsTest.testParseToDbRef_PDBjalview.util.DBRefUtilsTest.testParseToDbRef_PDB | 1PASS | ||
|
0.62857145
|
jalview.analysis.FinderTest.testFind_featuresOnlyjalview.analysis.FinderTest.testFind_featuresOnly | 1PASS | ||
|
0.62857145
|
jalview.bin.CommandsTest.structureImageOutputTestjalview.bin.CommandsTest.structureImageOutputTest | 1PASS | ||
|
0.62857145
|
jalview.bin.CommandsTest2.do_structureOpeningArgsTestjalview.bin.CommandsTest2.do_structureOpeningArgsTest | 1PASS | ||
|
0.62857145
|
jalview.bin.CommandsTest.structureImageOutputTestjalview.bin.CommandsTest.structureImageOutputTest | 1PASS | ||
|
0.62857145
|
jalview.ws.dbsources.EBIAlphaFoldTest.checkImportPAEForStructurejalview.ws.dbsources.EBIAlphaFoldTest.checkImportPAEForStructure | 3FAIL | ||
|
0.62857145
|
jalview.bin.CommandsTest2.do_structureOpeningArgsTestjalview.bin.CommandsTest2.do_structureOpeningArgsTest | 1PASS | ||
|
0.62857145
|
jalview.gui.AssociatePDBFileTest.testAssociatePDBFilejalview.gui.AssociatePDBFileTest.testAssociatePDBFile | 1PASS | ||
|
0.62857145
|
jalview.ext.jmol.JmolParserTest.testAlignmentLoaderjalview.ext.jmol.JmolParserTest.testAlignmentLoader | 1PASS | ||
|
0.62857145
|
jalview.structures.models.AAStructureBindingModelTest.testImportPDBPreservesChainMappingsjalview.structures.models.AAStructureBindingModelTest.testImportPDBPreservesChainMappings | 1PASS | ||
|
0.62857145
|
jalview.bin.CommandsTest2.do_structureOpeningArgsTestjalview.bin.CommandsTest2.do_structureOpeningArgsTest | 1PASS | ||
|
0.62857145
|
jalview.bin.CommandsTest2.do_network_structureOpeningArgsTestjalview.bin.CommandsTest2.do_network_structureOpeningArgsTest | 1PASS | ||
|
0.62857145
|
jalview.gui.StructureChooserTest.openStructureFileForSequenceTestjalview.gui.StructureChooserTest.openStructureFileForSequenceTest | 1PASS | ||
|
0.62857145
|
jalview.bin.CommandsTest2.do_structureOpeningArgsTestjalview.bin.CommandsTest2.do_structureOpeningArgsTest | 1PASS | ||
|
0.62857145
|
jalview.structure.StructureSelectionManagerTest.testSetMapping_seqFeaturesjalview.structure.StructureSelectionManagerTest.testSetMapping_seqFeatures | 1PASS | ||
|
0.62857145
|
jalview.bin.CommandsTest2.do_structureOpeningArgsTestjalview.bin.CommandsTest2.do_structureOpeningArgsTest | 1PASS | ||
|
0.62857145
|
jalview.gui.StructureChooserTest.openStructureFileForSequenceTestjalview.gui.StructureChooserTest.openStructureFileForSequenceTest | 1PASS | ||
|
0.62857145
|
jalview.bin.CommandsTest2.do_network_structureOpeningArgsTestjalview.bin.CommandsTest2.do_network_structureOpeningArgsTest | 1PASS | ||
|
0.62857145
|
jalview.io.AnnotatedPDBFileInputTest.testJalviewProjectRelocationAnnotationjalview.io.AnnotatedPDBFileInputTest.testJalviewProjectRelocationAnnotation | 1PASS | ||
|
0.62857145
|
jalview.bin.CommandsTest2.do_network_structureOpeningArgsTestjalview.bin.CommandsTest2.do_network_structureOpeningArgsTest | 1PASS | ||
|
0.62857145
|
jalview.bin.CommandsTest2.do_structureOpeningArgsTestjalview.bin.CommandsTest2.do_structureOpeningArgsTest | 1PASS | ||
|
0.62857145
|
jalview.gui.StructureChooserTest.openStructureFileForSequenceTestjalview.gui.StructureChooserTest.openStructureFileForSequenceTest | 1PASS | ||
|
0.62857145
|
jalview.bin.CommandsTest2.do_structureOpeningArgsTestjalview.bin.CommandsTest2.do_structureOpeningArgsTest | 1PASS | ||
|
0.62857145
|
jalview.bin.CommandsTest2.do_structureOpeningArgsTestjalview.bin.CommandsTest2.do_structureOpeningArgsTest | 1PASS | ||
|
0.62857145
|
jalview.util.UrlLinkTest.testUrlLinkCreationWithRegexjalview.util.UrlLinkTest.testUrlLinkCreationWithRegex | 1PASS | ||
|
0.62857145
|
jalview.gui.StructureChooserTest.openStructureFileForSequenceTestjalview.gui.StructureChooserTest.openStructureFileForSequenceTest | 1PASS | ||
|
0.6
|
mc_view.PDBfileTest.testParse_withJmol_noAnnotationsmc_view.PDBfileTest.testParse_withJmol_noAnnotations | 1PASS | ||
|
0.6
|
jalview.project.Jalview2xmlTests.testStoreAndRecoverPDBEntryjalview.project.Jalview2xmlTests.testStoreAndRecoverPDBEntry | 1PASS | ||
|
0.6
|
mc_view.PDBfileTest.testParse_withJmolAddAlignmentAnnotationsmc_view.PDBfileTest.testParse_withJmolAddAlignmentAnnotations | 1PASS | ||
|
0.6
|
jalview.ext.jmol.JmolParserTest.testParse_missingResiduesjalview.ext.jmol.JmolParserTest.testParse_missingResidues | 1PASS | ||
|
0.6
|
jalview.ext.jmol.JmolParserTest.testParse_alternativeResiduesjalview.ext.jmol.JmolParserTest.testParse_alternativeResidues | 1PASS | ||
|
0.54285717
|
jalview.analysis.FinderTest.testFindAll_maximalResultOnlyjalview.analysis.FinderTest.testFindAll_maximalResultOnly | 1PASS | ||
|
0.54285717
|
jalview.controller.AlignViewControllerTest.testSelectColumnsWithHighlightjalview.controller.AlignViewControllerTest.testSelectColumnsWithHighlight | 1PASS | ||
|
0.4857143
|
jalview.analysis.FinderTest.testFindNext_inSelectionjalview.analysis.FinderTest.testFindNext_inSelection | 1PASS | ||
|
0.4857143
|
jalview.analysis.FinderTest.testFindAlljalview.analysis.FinderTest.testFindAll | 1PASS | ||
|
0.4857143
|
jalview.analysis.FinderTest.testFindAll_sequenceIdsjalview.analysis.FinderTest.testFindAll_sequenceIds | 1PASS | ||
|
0.4857143
|
jalview.analysis.FinderTest.testFind_regexjalview.analysis.FinderTest.testFind_regex | 1PASS | ||
|
0.4857143
|
jalview.analysis.FinderTest.testFind_findNextjalview.analysis.FinderTest.testFind_findNext | 1PASS | ||
|
0.4857143
|
jalview.analysis.ParsePropertiesTest.testGetScoresFromDescription_twoScoresjalview.analysis.ParsePropertiesTest.testGetScoresFromDescription_twoScores | 1PASS | ||
|
0.4857143
|
jalview.analysis.FinderTest.testFind_withHiddenColumnsjalview.analysis.FinderTest.testFind_withHiddenColumns | 1PASS | ||
|
0.4857143
|
jalview.analysis.FinderTest.testFindNextjalview.analysis.FinderTest.testFindNext | 1PASS | ||
|
0.4857143
|
jalview.analysis.FinderTest.testFind_inDescriptionjalview.analysis.FinderTest.testFind_inDescription | 1PASS | ||
|
0.4857143
|
jalview.analysis.FinderTest.testFind_findAlljalview.analysis.FinderTest.testFind_findAll | 1PASS | ||
|
0.4857143
|
jalview.analysis.FinderTest.testFind_withHiddenColumnsAndSelectionjalview.analysis.FinderTest.testFind_withHiddenColumnsAndSelection | 1PASS | ||
|
0.4857143
|
jalview.analysis.FinderTest.testFindAll_inSelectionjalview.analysis.FinderTest.testFindAll_inSelection | 1PASS | ||
|
0.4857143
|
jalview.analysis.FinderTest.testFind_findAllInSelectionWithShortSequencejalview.analysis.FinderTest.testFind_findAllInSelectionWithShortSequence | 1PASS | ||
|
0.4857143
|
jalview.analysis.FinderTest.testFind_ignoreHiddenColumnsjalview.analysis.FinderTest.testFind_ignoreHiddenColumns | 1PASS | ||
|
0.45714286
|
jalview.bin.CommandsTest2.do_structureOpeningArgsTestjalview.bin.CommandsTest2.do_structureOpeningArgsTest | 1PASS | ||
|
0.45714286
|
jalview.bin.CommandsTest.allLinkedIdsTestjalview.bin.CommandsTest.allLinkedIdsTest | 1PASS | ||
|
0.45714286
|
jalview.bin.CommandsTest.structureImageAnnotationsOutputTestjalview.bin.CommandsTest.structureImageAnnotationsOutputTest | 1PASS | ||
|
0.45714286
|
jalview.bin.CommandsTest.structureImageAnnotationsOutputTestjalview.bin.CommandsTest.structureImageAnnotationsOutputTest | 1PASS | ||
|
0.45714286
|
jalview.ws.dbsources.EBIAlphaFoldTest.checkImportPAEForStructurejalview.ws.dbsources.EBIAlphaFoldTest.checkImportPAEForStructure | 1PASS | ||
|
0.45714286
|
jalview.bin.CommandsTest.structureImageAnnotationsOutputTestjalview.bin.CommandsTest.structureImageAnnotationsOutputTest | 1PASS | ||
|
0.45714286
|
jalview.ws.dbsources.EBIAlphaFoldTest.checkImportPAEForStructurejalview.ws.dbsources.EBIAlphaFoldTest.checkImportPAEForStructure | 1PASS | ||
|
0.45714286
|
jalview.bin.CommandsTest2.do_structureOpeningArgsTestjalview.bin.CommandsTest2.do_structureOpeningArgsTest | 1PASS | ||
|
0.45714286
|
jalview.bin.CommandsTest.structureImageAnnotationsOutputTestjalview.bin.CommandsTest.structureImageAnnotationsOutputTest | 1PASS | ||
|
0.45714286
|
jalview.ext.jmol.JmolParserTest.testLocalPDBIdjalview.ext.jmol.JmolParserTest.testLocalPDBId | 1PASS | ||
|
0.45714286
|
jalview.gui.AnnotationLabelsTest2.testIdWidthNoChangesjalview.gui.AnnotationLabelsTest2.testIdWidthNoChanges | 1PASS | ||
|
0.45714286
|
jalview.bin.CommandsTest.structureImageOutputTestjalview.bin.CommandsTest.structureImageOutputTest | 1PASS | ||
|
0.45714286
|
jalview.bin.CommandsTest2.do_structureOpeningArgsTestjalview.bin.CommandsTest2.do_structureOpeningArgsTest | 1PASS | ||
|
0.45714286
|
jalview.ws.dbsources.EBIAlphaFoldTest.checkImportPAEForStructurejalview.ws.dbsources.EBIAlphaFoldTest.checkImportPAEForStructure | 1PASS | ||
|
0.45714286
|
jalview.analysis.ParsePropertiesTest.testGetScoresFromDescriptionjalview.analysis.ParsePropertiesTest.testGetScoresFromDescription | 1PASS | ||
|
0.45714286
|
jalview.bin.CommandsTest.structureImageAnnotationsOutputTestjalview.bin.CommandsTest.structureImageAnnotationsOutputTest | 1PASS | ||
|
0.45714286
|
jalview.bin.CommandsTest.structureImageOutputTestjalview.bin.CommandsTest.structureImageOutputTest | 1PASS | ||
|
0.45714286
|
jalview.gui.AnnotationLabelsTest2.testIdWidthNoChangesjalview.gui.AnnotationLabelsTest2.testIdWidthNoChanges | 1PASS | ||
|
0.45714286
|
jalview.gui.AnnotationLabelsTest2.testIdWidthChangesjalview.gui.AnnotationLabelsTest2.testIdWidthChanges | 1PASS | ||
|
0.45714286
|
jalview.bin.CommandsTest2.do_structureOpeningArgsTestjalview.bin.CommandsTest2.do_structureOpeningArgsTest | 1PASS | ||
|
0.45714286
|
jalview.gui.AnnotationLabelsTest2.testIdWidthChangesjalview.gui.AnnotationLabelsTest2.testIdWidthChanges | 1PASS | ||
|
0.45714286
|
jalview.analysis.FinderTest.testFind_residueNumberjalview.analysis.FinderTest.testFind_residueNumber | 1PASS | ||
|
0.45714286
|
jalview.ws.dbsources.EBIAlphaFoldTest.checkImportPAEForStructurejalview.ws.dbsources.EBIAlphaFoldTest.checkImportPAEForStructure | 1PASS | ||
|
0.45714286
|
jalview.bin.CommandsTest.structureImageAnnotationsOutputTestjalview.bin.CommandsTest.structureImageAnnotationsOutputTest | 1PASS | ||
|
0.45714286
|
jalview.bin.CommandsTest.structureImageAnnotationsOutputTestjalview.bin.CommandsTest.structureImageAnnotationsOutputTest | 1PASS | ||
|
0.45714286
|
jalview.bin.CommandsTest.structureImageAnnotationsOutputTestjalview.bin.CommandsTest.structureImageAnnotationsOutputTest | 1PASS | ||
|
0.17142858
|
jalview.ext.ensembl.EnsemblProteinTest.testIsValidReferencejalview.ext.ensembl.EnsemblProteinTest.testIsValidReference | 1PASS | ||
|
0.17142858
|
jalview.ext.ensembl.EnsemblCdnaTest.testIsValidReferencejalview.ext.ensembl.EnsemblCdnaTest.testIsValidReference | 1PASS | ||
|
0.17142858
|
jalview.ext.ensembl.EnsemblCdsTest.testIsValidReferencejalview.ext.ensembl.EnsemblCdsTest.testIsValidReference | 1PASS |
| 1 | // | ||||||
| 2 | // This software is now distributed according to | ||||||
| 3 | // the Lesser Gnu Public License. Please see | ||||||
| 4 | // http://www.gnu.org/copyleft/lesser.txt for | ||||||
| 5 | // the details. | ||||||
| 6 | // -- Happy Computing! | ||||||
| 7 | // | ||||||
| 8 | package com.stevesoft.pat; | ||||||
| 9 | |||||||
| 10 | import java.util.Hashtable; | ||||||
| 11 | |||||||
| 12 | /** This class matches a single character. */ | ||||||
|
|||||||
| 13 | class oneChar extends Pattern | ||||||
| 14 | { | ||||||
| 15 | char c, altc, altc2; | ||||||
| 16 | |||||||
| 17 | int mask; | ||||||
| 18 | |||||||
|
|||||||
| 19 | 40527 | public oneChar(char ci)... |
|||||
| 20 | { | ||||||
| 21 | 40527 | c = ci; | |||||
| 22 | 40527 | char cu, cl, ct; | |||||
| 23 | 40527 | cu = CaseMgr.toUpperCase(c); | |||||
| 24 | 40527 | cl = CaseMgr.toLowerCase(c); | |||||
| 25 | 40527 | ct = CaseMgr.toTitleCase(c); | |||||
| 26 | 40527 | if (c == cu) | |||||
| 27 | { | ||||||
| 28 | 36130 | altc = cl; | |||||
| 29 | 36130 | altc2 = ct; | |||||
| 30 | } | ||||||
| 31 | 4397 | else if (c == cl) | |||||
| 32 | { | ||||||
| 33 | 4397 | altc = cu; | |||||
| 34 | 4397 | altc2 = ct; | |||||
| 35 | } | ||||||
| 36 | else | ||||||
| 37 | { | ||||||
| 38 | 0 | altc = cl; | |||||
| 39 | 0 | altc2 = cu; | |||||
| 40 | } | ||||||
| 41 | 40527 | mask = c & altc & altc2; | |||||
| 42 | } | ||||||
| 43 | |||||||
|
|||||||
| 44 | 337570 | public int matchInternal(int pos, Pthings pt)... |
|||||
| 45 | { | ||||||
| 46 | 337570 | char p; | |||||
| 47 | 337570 | int ret = -1; | |||||
| 48 | ? | if (pos < pt.src.length() && !Masked(pos, pt) | |||||
| 49 | && ((p = pt.src.charAt(pos)) == c | ||||||
| 50 | || (pt.ignoreCase && (p == altc || p == altc2)))) | ||||||
| 51 | { | ||||||
| 52 | 4320 | ret = nextMatch(pos + 1, pt); | |||||
| 53 | } | ||||||
| 54 | 337570 | return ret; | |||||
| 55 | } | ||||||
| 56 | |||||||
|
|||||||
| 57 | 0 | public String toString()... |
|||||
| 58 | { | ||||||
| 59 | 0 | return protect("" + c, PROTECT_THESE, ESC) + nextString(); | |||||
| 60 | } | ||||||
| 61 | |||||||
|
|||||||
| 62 | 143 | public patInt minChars()... |
|||||
| 63 | { | ||||||
| 64 | 143 | return new patInt(1); | |||||
| 65 | } | ||||||
| 66 | |||||||
|
|||||||
| 67 | 72 | public patInt maxChars()... |
|||||
| 68 | { | ||||||
| 69 | 72 | return new patInt(1); | |||||
| 70 | } | ||||||
| 71 | |||||||
|
|||||||
| 72 | 1704 | Pattern clone1(Hashtable h)... |
|||||
| 73 | { | ||||||
| 74 | 1704 | return new oneChar(c); | |||||
| 75 | } | ||||||
| 76 | }; |
