Class | Line # | Actions | |||
---|---|---|---|---|---|
LinkedIdentityHashSet | 35 | 12 | 9 | 0.818181881.8% |
|
LinkedIdentityHashSet.IdentityWrapper | 39 | 4 | 3 | 1.0100% |
Class LinkedIdentityHashSet |
Line # 35 |
12 |
9 |
0.818181881.8% |
---|---|---|---|---|
add(E) : boolean add(E) : boolean | 6464 | 2.02 | 1.01 | 1.0 1.0100% |
putIfAbsent(IdentityWrapper,IdentityWrapper) : IdentityWrapper putIfAbsent(IdentityWrapper,IdentityWrapper) : IdentityWrapper | 8787 | 4.04 | 2.02 | 1.0 1.0100% |
hasNext() : boolean hasNext() : boolean | 105105 | 1.01 | 1.01 | 1.0 1.0100% |
next() : E next() : E | 111111 | 1.01 | 1.01 | 1.0 1.0100% |
remove() : void remove() : void | 118118 | 1.01 | 1.01 | 0.0 0.00% |
iterator() : Iterator<E> iterator() : Iterator<E> | 9898 | 1.01 | 1.01 | 1.0 1.0100% |
size() : int size() : int | 127127 | 1.01 | 1.01 | 1.0 1.0100% |
indexOf(E) : int indexOf(E) : int | 139139 | 1.01 | 1.01 | 0.0 0.00% |
Class LinkedIdentityHashSet.IdentityWrapper |
Line # 39 |
4 |
3 |
1.0100% |
---|---|---|---|---|
IdentityWrapper(Object,int) IdentityWrapper(Object,int) | 4545 | 2.02 | 1.01 | 1.0 1.0100% |
equals(Object) : boolean equals(Object) : boolean | 5151 | 1.01 | 1.01 | 1.0 1.0100% |
hashCode() : int hashCode() : int | 5757 | 1.01 | 1.01 | 1.0 1.0100% |
0.86206895
|
jalview.analysis.AlignmentUtilsTests.testAlignAsSameSequencesMultipleSubSeqjalview.analysis.AlignmentUtilsTests.testAlignAsSameSequencesMultipleSubSeq | 1PASS | ||
0.86206895
|
jalview.analysis.AlignmentUtilsTests.testAddReferenceAnnotationsjalview.analysis.AlignmentUtilsTests.testAddReferenceAnnotations | 1PASS | ||
0.86206895
|
jalview.analysis.AlignmentUtilsTests.testExpandContextjalview.analysis.AlignmentUtilsTests.testExpandContext | 1PASS | ||
0.86206895
|
jalview.datamodel.AlignmentTest.testCreateDataset_updateDbrefMappingsjalview.datamodel.AlignmentTest.testCreateDataset_updateDbrefMappings | 1PASS | ||
0.7586207
|
jalview.bin.CommandsTest.argFilesGlobAndSubstitutionsTestjalview.bin.CommandsTest.argFilesGlobAndSubstitutionsTest | 1PASS | ||
0.7586207
|
jalview.io.FeaturesFileTest.testParse_mixedJalviewGffjalview.io.FeaturesFileTest.testParse_mixedJalviewGff | 1PASS | ||
0.7586207
|
jalview.util.MappingUtilsTest.testMapColumnSelection_nulljalview.util.MappingUtilsTest.testMapColumnSelection_null | 1PASS | ||
0.7586207
|
jalview.bin.CommandsTest.commandsOpenTestjalview.bin.CommandsTest.commandsOpenTest | 1PASS | ||
0.7586207
|
jalview.project.Jalview2xmlTests.testStoreAndRecoverPDBEntryjalview.project.Jalview2xmlTests.testStoreAndRecoverPDBEntry | 1PASS | ||
0.7586207
|
jalview.ext.jmol.JmolCommandsTest.testGetColourBySequenceCommands_hiddenColumnsjalview.ext.jmol.JmolCommandsTest.testGetColourBySequenceCommands_hiddenColumns | 1PASS | ||
0.7586207
|
jalview.bin.CommandsTest.allLinkedIdsTestjalview.bin.CommandsTest.allLinkedIdsTest | 1PASS | ||
0.7586207
|
jalview.gui.PaintRefresherTest.testGetAssociatedPanelsjalview.gui.PaintRefresherTest.testGetAssociatedPanels | 1PASS | ||
0.7586207
|
jalview.bin.CommandsTest.commandsOpenTestjalview.bin.CommandsTest.commandsOpenTest | 1PASS | ||
0.7586207
|
jalview.analysis.AlignmentUtilsTests.testMapProteinAlignmentToCdna_withXrefsjalview.analysis.AlignmentUtilsTests.testMapProteinAlignmentToCdna_withXrefs | 1PASS | ||
0.7586207
|
jalview.renderer.seqfeatures.FeatureRendererTest.testFilterFeaturesForDisplayjalview.renderer.seqfeatures.FeatureRendererTest.testFilterFeaturesForDisplay | 1PASS | ||
0.7586207
|
jalview.gui.AlignmentPanelTest.testSetOverviewTitle_automaticOverviewjalview.gui.AlignmentPanelTest.testSetOverviewTitle_automaticOverview | 1PASS | ||
0.7586207
|
jalview.bin.CommandsTest.allLinkedIdsTestjalview.bin.CommandsTest.allLinkedIdsTest | 1PASS | ||
0.7586207
|
jalview.io.FeaturesFileTest.testPrintJalviewFormatjalview.io.FeaturesFileTest.testPrintJalviewFormat | 1PASS | ||
0.7586207
|
jalview.gui.AnnotationLabelsTest2.testIdWidthChangesjalview.gui.AnnotationLabelsTest2.testIdWidthChanges | 1PASS | ||
0.7586207
|
jalview.analysis.DnaTest.testTranslateCdna_sequenceOrderIndependentjalview.analysis.DnaTest.testTranslateCdna_sequenceOrderIndependent | 1PASS | ||
0.7586207
|
jalview.bin.CommandsTest2.structureOpeningArgsTestjalview.bin.CommandsTest2.structureOpeningArgsTest | 1PASS | ||
0.7586207
|
jalview.io.vcf.VCFLoaderTest.testDoLoad_vepCsqjalview.io.vcf.VCFLoaderTest.testDoLoad_vepCsq | 1PASS | ||
0.7586207
|
jalview.io.BackupFilesTest.backupsEnabledNoRollMaxTestjalview.io.BackupFilesTest.backupsEnabledNoRollMaxTest | 1PASS | ||
0.7586207
|
jalview.io.gff.GffTests.testResolveExonerateGffjalview.io.gff.GffTests.testResolveExonerateGff | 1PASS | ||
0.7586207
|
jalview.bin.CommandsTest2.structureOpeningArgsTestjalview.bin.CommandsTest2.structureOpeningArgsTest | 1PASS | ||
0.7586207
|
jalview.analysis.AlignmentUtilsTests.testMakeCdsAlignment_filterProductsjalview.analysis.AlignmentUtilsTests.testMakeCdsAlignment_filterProducts | 1PASS | ||
0.7586207
|
jalview.analysis.scoremodels.SecondaryStructureDistanceModelTest.testFindDistances_withSSUndefinedInEitherOneSeqjalview.analysis.scoremodels.SecondaryStructureDistanceModelTest.testFindDistances_withSSUndefinedInEitherOneSeq | 1PASS | ||
0.7586207
|
jalview.gui.SeqPanelTest.testFindColumn_unwrappedjalview.gui.SeqPanelTest.testFindColumn_unwrapped | 1PASS | ||
0.7586207
|
jalview.gui.PairwiseAlignmentPanelTest.testConstructor_noSelectionGroupjalview.gui.PairwiseAlignmentPanelTest.testConstructor_noSelectionGroup | 1PASS | ||
0.7586207
|
jalview.util.MappingUtilsTest.testMapColumnSelection_dnaToProteinjalview.util.MappingUtilsTest.testMapColumnSelection_dnaToProtein | 1PASS | ||
0.7586207
|
jalview.commands.EditCommandTest.testCut_withFeatures_exhaustivejalview.commands.EditCommandTest.testCut_withFeatures_exhaustive | 1PASS | ||
0.7586207
|
jalview.bin.CommandsTest.structureImageAnnotationsOutputTestjalview.bin.CommandsTest.structureImageAnnotationsOutputTest | 1PASS | ||
0.7586207
|
jalview.project.Jalview2xmlTests.testStoreAndRecoverAnnotationRowElementColoursjalview.project.Jalview2xmlTests.testStoreAndRecoverAnnotationRowElementColours | 1PASS | ||
0.7586207
|
jalview.io.BackupFilesTest.backupsEnabledSingleFileBackupTestjalview.io.BackupFilesTest.backupsEnabledSingleFileBackupTest | 1PASS | ||
0.7586207
|
jalview.bin.CommandsTest.argFilesGlobAndSubstitutionsTestjalview.bin.CommandsTest.argFilesGlobAndSubstitutionsTest | 1PASS | ||
0.7586207
|
jalview.gui.ScalePanelTest.testSelectColumns_withHiddenjalview.gui.ScalePanelTest.testSelectColumns_withHidden | 1PASS | ||
0.7586207
|
jalview.schemes.ClustalxColourSchemeTest.testFindColour_ignoreGapsjalview.schemes.ClustalxColourSchemeTest.testFindColour_ignoreGaps | 1PASS | ||
0.7586207
|
jalview.gui.AlignViewportTest.testDeregisterMapping_withReferencejalview.gui.AlignViewportTest.testDeregisterMapping_withReference | 1PASS | ||
0.7586207
|
jalview.analysis.scoremodels.FeatureDistanceModelTest.testFindDistancesjalview.analysis.scoremodels.FeatureDistanceModelTest.testFindDistances | 1PASS | ||
0.7586207
|
jalview.bin.CommandsTest.commandsOpenTestjalview.bin.CommandsTest.commandsOpenTest | 1PASS | ||
0.7586207
|
jalview.analysis.scoremodels.FeatureDistanceModelTest.testFeatureScoreModel_HiddenColumnsjalview.analysis.scoremodels.FeatureDistanceModelTest.testFeatureScoreModel_HiddenColumns | 1PASS | ||
0.7586207
|
jalview.io.vcf.VCFLoaderTest.testDoLoadjalview.io.vcf.VCFLoaderTest.testDoLoad | 1PASS | ||
0.7586207
|
jalview.bin.CommandsTest.allLinkedIdsTestjalview.bin.CommandsTest.allLinkedIdsTest | 1PASS | ||
0.7586207
|
jalview.bin.CommandsTest2.structureOpeningArgsTestjalview.bin.CommandsTest2.structureOpeningArgsTest | 1PASS | ||
0.7586207
|
jalview.bin.CommandsTest.commandsOpenTestjalview.bin.CommandsTest.commandsOpenTest | 1PASS | ||
0.7586207
|
jalview.bin.CommandsTest.commandsOpenTestjalview.bin.CommandsTest.commandsOpenTest | 1PASS | ||
0.7586207
|
jalview.analysis.AlignmentUtilsTests.testAlignProteinAsDna_incompleteStartCodonjalview.analysis.AlignmentUtilsTests.testAlignProteinAsDna_incompleteStartCodon | 1PASS | ||
0.7586207
|
jalview.bin.CommandsTest2.structureOpeningArgsTestjalview.bin.CommandsTest2.structureOpeningArgsTest | 1PASS | ||
0.7586207
|
jalview.util.MappingUtilsTest.testMapSequenceGroup_sequencesjalview.util.MappingUtilsTest.testMapSequenceGroup_sequences | 1PASS | ||
0.7586207
|
jalview.datamodel.AlignmentViewTest.testGetVisibleContigsjalview.datamodel.AlignmentViewTest.testGetVisibleContigs | 1PASS | ||
0.7586207
|
jalview.io.JalviewExportPropertiesTests.testImportExportPeriodGapsjalview.io.JalviewExportPropertiesTests.testImportExportPeriodGaps | 1PASS | ||
0.7586207
|
jalview.io.BackupFilesTest.noBackupsEnabledTestjalview.io.BackupFilesTest.noBackupsEnabledTest | 1PASS | ||
0.7586207
|
jalview.project.Jalview2xmlTests.testStoreAndRecoverOverviewjalview.project.Jalview2xmlTests.testStoreAndRecoverOverview | 1PASS | ||
0.7586207
|
jalview.bin.CommandsTest.commandsOpenTestjalview.bin.CommandsTest.commandsOpenTest | 1PASS | ||
0.7586207
|
jalview.schemes.ColourSchemesTest.testGetColourSchemejalview.schemes.ColourSchemesTest.testGetColourScheme | 1PASS | ||
0.7586207
|
jalview.project.Jalview2xmlTests.testPcaViewAssociationjalview.project.Jalview2xmlTests.testPcaViewAssociation | 1PASS | ||
0.7586207
|
jalview.bin.CommandsTest.argFilesGlobAndSubstitutionsTestjalview.bin.CommandsTest.argFilesGlobAndSubstitutionsTest | 1PASS | ||
0.7586207
|
jalview.datamodel.AlignmentTest.testEqualsjalview.datamodel.AlignmentTest.testEquals | 1PASS | ||
0.7586207
|
jalview.gui.ColourMenuHelperTest.testAddMenuItems_forAlignFramejalview.gui.ColourMenuHelperTest.testAddMenuItems_forAlignFrame | 1PASS | ||
0.7586207
|
jalview.io.vcf.VCFLoaderTest.testDoLoad_reverseStrandjalview.io.vcf.VCFLoaderTest.testDoLoad_reverseStrand | 1PASS | ||
0.7586207
|
jalview.analysis.DnaTest.testTranslateCdna_simplejalview.analysis.DnaTest.testTranslateCdna_simple | 1PASS | ||
0.7586207
|
jalview.gui.StructureChooserTest.openStructureFileForSequenceTestjalview.gui.StructureChooserTest.openStructureFileForSequenceTest | 1PASS | ||
0.7586207
|
jalview.analysis.DnaTest.testTranslateCdna_hiddenColumnsjalview.analysis.DnaTest.testTranslateCdna_hiddenColumns | 1PASS | ||
0.7586207
|
jalview.analysis.AlignmentUtilsTests.testMapProteinAlignmentToCdna_withStartAndStopCodonsjalview.analysis.AlignmentUtilsTests.testMapProteinAlignmentToCdna_withStartAndStopCodons | 1PASS | ||
0.7586207
|
jalview.io.AnnotatedPDBFileInputTest.testJalviewProjectRelocationAnnotationjalview.io.AnnotatedPDBFileInputTest.testJalviewProjectRelocationAnnotation | 1PASS | ||
0.7586207
|
jalview.bin.CommandsTest.structureImageOutputTestjalview.bin.CommandsTest.structureImageOutputTest | 1PASS | ||
0.7586207
|
jalview.project.Jalview2xmlTests.noDuplicatePdbMappingsMadejalview.project.Jalview2xmlTests.noDuplicatePdbMappingsMade | 1PASS | ||
0.7586207
|
jalview.controller.AlignViewControllerTest.testSelectColumnsWithHighlightjalview.controller.AlignViewControllerTest.testSelectColumnsWithHighlight | 1PASS | ||
0.7586207
|
jalview.gui.SeqPanelTest.testFindMousePosition_wrapped_annotationsjalview.gui.SeqPanelTest.testFindMousePosition_wrapped_annotations | 1PASS | ||
0.7586207
|
jalview.analysis.scoremodels.SecondaryStructureDistanceModelTest.testFindDistances_withSSUndefinedInBothSeqsjalview.analysis.scoremodels.SecondaryStructureDistanceModelTest.testFindDistances_withSSUndefinedInBothSeqs | 1PASS | ||
0.7586207
|
jalview.io.AnnotationFileIOTest.testAnnotateAlignmentViewjalview.io.AnnotationFileIOTest.testAnnotateAlignmentView | 1PASS | ||
0.7586207
|
jalview.schemes.PIDColourSchemeTest.testFindColour_ignoreGapsjalview.schemes.PIDColourSchemeTest.testFindColour_ignoreGaps | 1PASS | ||
0.7586207
|
jalview.bin.CommandsTest2.structureOpeningArgsTestjalview.bin.CommandsTest2.structureOpeningArgsTest | 1PASS | ||
0.7586207
|
jalview.analysis.AlignmentUtilsTests.testMakeCdsAlignmentjalview.analysis.AlignmentUtilsTests.testMakeCdsAlignment | 1PASS | ||
0.7586207
|
jalview.project.Jalview2xmlTests.testStoreAndRecoverExpandedviewsjalview.project.Jalview2xmlTests.testStoreAndRecoverExpandedviews | 1PASS | ||
0.7586207
|
jalview.analysis.AlignmentSorterTest.testSortByFeature_scorejalview.analysis.AlignmentSorterTest.testSortByFeature_score | 1PASS | ||
0.7586207
|
jalview.gui.SeqPanelTest.testAmbiguousAminoAcidGetsStatusMessagejalview.gui.SeqPanelTest.testAmbiguousAminoAcidGetsStatusMessage | 1PASS | ||
0.7586207
|
jalview.project.Jalview2xmlTests.testStoreAndRecoverReferenceSeqSettingsjalview.project.Jalview2xmlTests.testStoreAndRecoverReferenceSeqSettings | 1PASS | ||
0.7586207
|
jalview.bin.CommandsTest2.structureOpeningArgsTestjalview.bin.CommandsTest2.structureOpeningArgsTest | 1PASS | ||
0.7586207
|
jalview.project.Jalview2xmlTests.viewRefPdbAnnotationjalview.project.Jalview2xmlTests.viewRefPdbAnnotation | 1PASS | ||
0.7586207
|
jalview.gui.ScalePanelTest.testBuildPopupMenujalview.gui.ScalePanelTest.testBuildPopupMenu | 1PASS | ||
0.7586207
|
jalview.gui.AlignViewportTest.testGetConsensusSeqjalview.gui.AlignViewportTest.testGetConsensusSeq | 1PASS | ||
0.7586207
|
jalview.datamodel.AlignmentTest.testAlignAs_3dijalview.datamodel.AlignmentTest.testAlignAs_3di | 1PASS | ||
0.7586207
|
jalview.bin.CommandsTest.allLinkedIdsTestjalview.bin.CommandsTest.allLinkedIdsTest | 1PASS | ||
0.7586207
|
jalview.analysis.AlignmentUtilsTests.testExpandContext_annotationjalview.analysis.AlignmentUtilsTests.testExpandContext_annotation | 1PASS | ||
0.7586207
|
jalview.io.JSONFileTest.testGrpParsed_colourNonejalview.io.JSONFileTest.testGrpParsed_colourNone | 1PASS | ||
0.7586207
|
jalview.schemes.ColourSchemesTest.testRegisterColourSchemejalview.schemes.ColourSchemesTest.testRegisterColourScheme | 1PASS | ||
0.7586207
|
jalview.analysis.AlignmentUtilsTests.testAlignAsSameSequencesjalview.analysis.AlignmentUtilsTests.testAlignAsSameSequences | 1PASS | ||
0.7586207
|
jalview.project.Jalview2xmlTests.testCopyViewSettingsjalview.project.Jalview2xmlTests.testCopyViewSettings | 1PASS | ||
0.7586207
|
jalview.gui.QuitHandlerTest.testForceQuitjalview.gui.QuitHandlerTest.testForceQuit | 1PASS | ||
0.7586207
|
jalview.gui.QuitHandlerTest.testSavedAlignmentChangesjalview.gui.QuitHandlerTest.testSavedAlignmentChanges | 1PASS | ||
0.7586207
|
jalview.bin.CommandsTest.structureImageAnnotationsOutputTestjalview.bin.CommandsTest.structureImageAnnotationsOutputTest | 1PASS | ||
0.7586207
|
jalview.analysis.AlignmentUtilsTests.testMakeCdsAlignment_alternativeTranscriptsjalview.analysis.AlignmentUtilsTests.testMakeCdsAlignment_alternativeTranscripts | 1PASS | ||
0.7586207
|
jalview.gui.StructureChooserTest.openStructureFileForSequenceTestjalview.gui.StructureChooserTest.openStructureFileForSequenceTest | 1PASS | ||
0.7586207
|
jalview.bin.CommandsTest.structureImageOutputTestjalview.bin.CommandsTest.structureImageOutputTest | 1PASS | ||
0.7586207
|
jalview.gui.StructureChooserTest.openStructureFileForSequenceTestjalview.gui.StructureChooserTest.openStructureFileForSequenceTest | 1PASS | ||
0.7586207
|
jalview.bin.CommandsTest.structureImageAnnotationsOutputTestjalview.bin.CommandsTest.structureImageAnnotationsOutputTest | 1PASS | ||
0.7586207
|
jalview.io.FeaturesFileTest.testPrintGffFormat_withFiltersjalview.io.FeaturesFileTest.testPrintGffFormat_withFilters | 1PASS | ||
0.7586207
|
jalview.datamodel.AlignmentTest.testAlignAs_prot_tdijalview.datamodel.AlignmentTest.testAlignAs_prot_tdi | 1PASS | ||
0.7586207
|
jalview.gui.QuitHandlerTest.testInstantQuitjalview.gui.QuitHandlerTest.testInstantQuit | 1PASS | ||
0.7586207
|
jalview.gui.AnnotationLabelsTest2.testIdWidthNoChangesjalview.gui.AnnotationLabelsTest2.testIdWidthNoChanges | 1PASS | ||
0.7586207
|
jalview.bin.CommandsTest.commandsOpenTestjalview.bin.CommandsTest.commandsOpenTest | 1PASS | ||
0.7586207
|
jalview.gui.SeqPanelTest.testFindMousePosition_wrapped_scaleAbovejalview.gui.SeqPanelTest.testFindMousePosition_wrapped_scaleAbove | 1PASS | ||
0.7586207
|
jalview.gui.AnnotationLabelsTest2.testIdWidthNoChangesjalview.gui.AnnotationLabelsTest2.testIdWidthNoChanges | 1PASS | ||
0.7586207
|
jalview.renderer.seqfeatures.FeatureRendererTest.testGetColourjalview.renderer.seqfeatures.FeatureRendererTest.testGetColour | 1PASS | ||
0.7586207
|
jalview.gui.AlignViewportTest.testGetSelectionAsNewSequences_withContactMatricesjalview.gui.AlignViewportTest.testGetSelectionAsNewSequences_withContactMatrices | 1PASS | ||
0.7586207
|
jalview.bin.CommandsTest.allLinkedIdsTestjalview.bin.CommandsTest.allLinkedIdsTest | 1PASS | ||
0.7586207
|
jalview.bin.CommandsTest.allLinkedIdsTestjalview.bin.CommandsTest.allLinkedIdsTest | 1PASS | ||
0.7586207
|
jalview.gui.SeqPanelTest.testFindMousePosition_wrapped_noAnnotationsjalview.gui.SeqPanelTest.testFindMousePosition_wrapped_noAnnotations | 1PASS | ||
0.7586207
|
jalview.ext.jmol.JmolViewerTest.testSingleSeqViewJMoljalview.ext.jmol.JmolViewerTest.testSingleSeqViewJMol | 1PASS | ||
0.7586207
|
jalview.io.FeaturesFileTest.testParse_pureGff3jalview.io.FeaturesFileTest.testParse_pureGff3 | 1PASS | ||
0.7586207
|
jalview.gui.SeqPanelTest.testFindMousePosition_wrapped_scales_longSequencejalview.gui.SeqPanelTest.testFindMousePosition_wrapped_scales_longSequence | 1PASS | ||
0.7586207
|
jalview.project.Jalview2xmlTests.testStoreAndRecoverGeneLocusjalview.project.Jalview2xmlTests.testStoreAndRecoverGeneLocus | 1PASS | ||
0.7586207
|
jalview.analysis.scoremodels.FeatureDistanceModelTest.testFindDistances_withParamsjalview.analysis.scoremodels.FeatureDistanceModelTest.testFindDistances_withParams | 1PASS | ||
0.7586207
|
jalview.datamodel.AlignmentTest.testAlignAs_tdi_protjalview.datamodel.AlignmentTest.testAlignAs_tdi_prot | 1PASS | ||
0.7586207
|
jalview.bin.CommandsTest.allLinkedIdsTestjalview.bin.CommandsTest.allLinkedIdsTest | 1PASS | ||
0.7586207
|
jalview.datamodel.AlignmentTest.testCopyConstructorjalview.datamodel.AlignmentTest.testCopyConstructor | 1PASS | ||
0.7586207
|
jalview.bin.CommandsTest.structureImageAnnotationsOutputTestjalview.bin.CommandsTest.structureImageAnnotationsOutputTest | 1PASS | ||
0.7586207
|
jalview.bin.CommandsTest.argFilesGlobAndSubstitutionsTestjalview.bin.CommandsTest.argFilesGlobAndSubstitutionsTest | 1PASS | ||
0.7586207
|
jalview.bin.CommandsTest2.structureOpeningArgsTestjalview.bin.CommandsTest2.structureOpeningArgsTest | 1PASS | ||
0.7586207
|
jalview.io.FeaturesFileTest.testParsejalview.io.FeaturesFileTest.testParse | 1PASS | ||
0.7586207
|
jalview.ext.jmol.JmolParserTest.testAlignmentLoaderjalview.ext.jmol.JmolParserTest.testAlignmentLoader | 1PASS | ||
0.7586207
|
jalview.gui.SeqPanelTest.testFindColumn_and_FindAlignmentColumn_wrappedjalview.gui.SeqPanelTest.testFindColumn_and_FindAlignmentColumn_wrapped | 1PASS | ||
0.7586207
|
jalview.io.gff.ExonerateHelperTest.testAddExonerateGffToAlignmentjalview.io.gff.ExonerateHelperTest.testAddExonerateGffToAlignment | 1PASS | ||
0.7586207
|
jalview.io.BackupFilesTest.backupsEnabledReverseRollMaxTestjalview.io.BackupFilesTest.backupsEnabledReverseRollMaxTest | 1PASS | ||
0.7586207
|
jalview.bin.CommandsTest.argFilesGlobAndSubstitutionsTestjalview.bin.CommandsTest.argFilesGlobAndSubstitutionsTest | 1PASS | ||
0.7586207
|
jalview.gui.StructureChooserTest.openStructureFileForSequenceTestjalview.gui.StructureChooserTest.openStructureFileForSequenceTest | 1PASS | ||
0.7586207
|
jalview.project.Jalview2xmlTests.testStoreAndRecoverNoOverviewjalview.project.Jalview2xmlTests.testStoreAndRecoverNoOverview | 1PASS | ||
0.7586207
|
jalview.bin.CommandsTest.allLinkedIdsTestjalview.bin.CommandsTest.allLinkedIdsTest | 1PASS | ||
0.7586207
|
jalview.datamodel.AlignmentTest.testCreateDatasetAlignmentWithMappedToSeqsjalview.datamodel.AlignmentTest.testCreateDatasetAlignmentWithMappedToSeqs | 1PASS | ||
0.7586207
|
jalview.analysis.DnaTest.testReverseCdnajalview.analysis.DnaTest.testReverseCdna | 1PASS | ||
0.7586207
|
jalview.io.FeaturesFileTest.simpleGff3FileLoaderjalview.io.FeaturesFileTest.simpleGff3FileLoader | 1PASS | ||
0.7586207
|
jalview.util.MappingUtilsTest.testMapSequenceGroup_regionjalview.util.MappingUtilsTest.testMapSequenceGroup_region | 1PASS | ||
0.7586207
|
jalview.datamodel.AlignmentTest.testAlignAs_proteinAsCdnajalview.datamodel.AlignmentTest.testAlignAs_proteinAsCdna | 1PASS | ||
0.7586207
|
jalview.project.Jalview2xmlTests.testPAEsaveRestorejalview.project.Jalview2xmlTests.testPAEsaveRestore | 1PASS | ||
0.7586207
|
jalview.datamodel.AlignmentTest.testAlignAs_cdnaAsProteinjalview.datamodel.AlignmentTest.testAlignAs_cdnaAsProtein | 1PASS | ||
0.7586207
|
jalview.bin.CommandsTest.commandsOpenTestjalview.bin.CommandsTest.commandsOpenTest | 1PASS | ||
0.7586207
|
jalview.gui.AlignViewportTest.testSetGetHasSearchResultsjalview.gui.AlignViewportTest.testSetGetHasSearchResults | 1PASS | ||
0.7586207
|
jalview.project.Jalview2xmlTests.testColourByAnnotScoresjalview.project.Jalview2xmlTests.testColourByAnnotScores | 1PASS | ||
0.7586207
|
jalview.analysis.AlignmentUtilsTests.testMapProteinAlignmentToCdna_noXrefsjalview.analysis.AlignmentUtilsTests.testMapProteinAlignmentToCdna_noXrefs | 1PASS | ||
0.7586207
|
jalview.gui.QuitHandlerTest.testNoGUIUnsavedChangesjalview.gui.QuitHandlerTest.testNoGUIUnsavedChanges | 1PASS | ||
0.7586207
|
jalview.project.Jalview2xmlTests.testStoreAndRecoverGroupRepSeqsjalview.project.Jalview2xmlTests.testStoreAndRecoverGroupRepSeqs | 1PASS | ||
0.7586207
|
jalview.analysis.AverageDistanceEngineTest.testUPGMAEnginejalview.analysis.AverageDistanceEngineTest.testUPGMAEngine | 1PASS | ||
0.7586207
|
jalview.gui.ScalePanelTest.testPreventNegativeStartColumnjalview.gui.ScalePanelTest.testPreventNegativeStartColumn | 1PASS | ||
0.7586207
|
jalview.io.WindowsFileLoadAndSaveTest.loadAndSaveAlignmentjalview.io.WindowsFileLoadAndSaveTest.loadAndSaveAlignment | 1PASS | ||
0.7586207
|
jalview.analysis.DnaTest.testTranslateCdna_withUntranslatableCodonsAndHiddenColumnsjalview.analysis.DnaTest.testTranslateCdna_withUntranslatableCodonsAndHiddenColumns | 1PASS | ||
0.7586207
|
jalview.structures.models.AAStructureBindingModelTest.testBuildColoursMapjalview.structures.models.AAStructureBindingModelTest.testBuildColoursMap | 1PASS | ||
0.7586207
|
jalview.io.BackupFilesTest.backupsEnabledRollMaxTestjalview.io.BackupFilesTest.backupsEnabledRollMaxTest | 1PASS | ||
0.7586207
|
jalview.util.MappingUtilsTest.testMapColumnSelection_proteinToDnajalview.util.MappingUtilsTest.testMapColumnSelection_proteinToDna | 1PASS | ||
0.7586207
|
jalview.analysis.AlignmentUtilsTests.testMapProteinAlignmentToCdna_prioritiseXrefsjalview.analysis.AlignmentUtilsTests.testMapProteinAlignmentToCdna_prioritiseXrefs | 1PASS | ||
0.7586207
|
jalview.util.MappingUtilsTest.testMapColumnSelection_hiddenColumnsjalview.util.MappingUtilsTest.testMapColumnSelection_hiddenColumns | 1PASS | ||
0.7586207
|
jalview.gui.StructureChooserTest.openStructureFileForSequenceTestjalview.gui.StructureChooserTest.openStructureFileForSequenceTest | 1PASS | ||
0.7586207
|
jalview.gui.AlignViewportTest.testDeregisterMapping_onCloseViewjalview.gui.AlignViewportTest.testDeregisterMapping_onCloseView | 1PASS | ||
0.7586207
|
jalview.gui.ColourMenuHelperTest.testAddMenuItems_nucleotidejalview.gui.ColourMenuHelperTest.testAddMenuItems_nucleotide | 1PASS | ||
0.7586207
|
jalview.bin.CommandsTest2.structureOpeningArgsTestjalview.bin.CommandsTest2.structureOpeningArgsTest | 1PASS | ||
0.7586207
|
jalview.io.JSONFileTest.testBioJSONRoundTripWithColourSchemeNonejalview.io.JSONFileTest.testBioJSONRoundTripWithColourSchemeNone | 1PASS | ||
0.7586207
|
jalview.util.MappingUtilsTest.testMapSequenceGroup_columnsjalview.util.MappingUtilsTest.testMapSequenceGroup_columns | 1PASS | ||
0.7586207
|
jalview.analysis.AlignmentUtilsTests.testAlignProteinAsDnajalview.analysis.AlignmentUtilsTests.testAlignProteinAsDna | 1PASS | ||
0.7586207
|
jalview.bin.CommandsTest.allLinkedIdsTestjalview.bin.CommandsTest.allLinkedIdsTest | 1PASS | ||
0.7586207
|
jalview.bin.CommandsTest2.structureOpeningArgsTestjalview.bin.CommandsTest2.structureOpeningArgsTest | 1PASS | ||
0.7586207
|
jalview.bin.CommandsTest.commandsOpenTestjalview.bin.CommandsTest.commandsOpenTest | 1PASS | ||
0.7586207
|
jalview.project.Jalview2xmlTests.testStoreAndRecoverColourThresholdsjalview.project.Jalview2xmlTests.testStoreAndRecoverColourThresholds | 1PASS | ||
0.7586207
|
jalview.analysis.DnaTest.testTranslateCdna_withUntranslatableCodonsjalview.analysis.DnaTest.testTranslateCdna_withUntranslatableCodons | 1PASS | ||
0.7586207
|
jalview.renderer.seqfeatures.FeatureRendererTest.testIsVisiblejalview.renderer.seqfeatures.FeatureRendererTest.testIsVisible | 1PASS | ||
0.7586207
|
jalview.gui.PairwiseAlignmentPanelTest.testConstructor_withSelectionGroupjalview.gui.PairwiseAlignmentPanelTest.testConstructor_withSelectionGroup | 1PASS | ||
0.7586207
|
jalview.gui.DesktopTests.testInternalCopyPastejalview.gui.DesktopTests.testInternalCopyPaste | 1PASS | ||
0.7586207
|
jalview.project.Jalview2xmlTests.testRNAStructureRecoveryjalview.project.Jalview2xmlTests.testRNAStructureRecovery | 1PASS | ||
0.7586207
|
jalview.bin.CommandsTest.commandsOpenTestjalview.bin.CommandsTest.commandsOpenTest | 1PASS | ||
0.7586207
|
jalview.gui.AnnotationLabelsTest2.testIdWidthChangesjalview.gui.AnnotationLabelsTest2.testIdWidthChanges | 1PASS | ||
0.7586207
|
jalview.project.Jalview2xmlTests.testTCoffeeScoresjalview.project.Jalview2xmlTests.testTCoffeeScores | 1PASS | ||
0.7586207
|
jalview.io.FeaturesFileTest.testPrintJalviewFormat_withFiltersjalview.io.FeaturesFileTest.testPrintJalviewFormat_withFilters | 1PASS | ||
0.7586207
|
jalview.controller.AlignViewControllerTest.testFindColumnsWithFeaturejalview.controller.AlignViewControllerTest.testFindColumnsWithFeature | 1PASS | ||
0.7586207
|
jalview.project.Jalview2xmlTests.gatherViewsHerejalview.project.Jalview2xmlTests.gatherViewsHere | 1PASS | ||
0.7586207
|
jalview.gui.AlignViewportTest.testSetSelectionGroupjalview.gui.AlignViewportTest.testSetSelectionGroup | 1PASS | ||
0.7586207
|
jalview.gui.SeqPanelTest.testSetStatusReturnsNearestResiduePositionjalview.gui.SeqPanelTest.testSetStatusReturnsNearestResiduePosition | 1PASS | ||
0.7586207
|
jalview.io.FeaturesFileTest.testPrintGffFormatjalview.io.FeaturesFileTest.testPrintGffFormat | 1PASS | ||
0.7586207
|
jalview.analysis.scoremodels.SecondaryStructureDistanceModelTest.testFindDistances_withGapjalview.analysis.scoremodels.SecondaryStructureDistanceModelTest.testFindDistances_withGap | 1PASS | ||
0.7586207
|
jalview.bin.CommandsTest.structureImageOutputTestjalview.bin.CommandsTest.structureImageOutputTest | 1PASS | ||
0.7586207
|
jalview.datamodel.AlignmentTest.testAlignAs_cdnaAsProtein_singleSequencejalview.datamodel.AlignmentTest.testAlignAs_cdnaAsProtein_singleSequence | 1PASS | ||
0.7586207
|
jalview.gui.AlignViewportTest.testShowOrDontShowOccupancyjalview.gui.AlignViewportTest.testShowOrDontShowOccupancy | 1PASS | ||
0.7586207
|
jalview.datamodel.AlignmentTest.testCreateDatasetAlignmentjalview.datamodel.AlignmentTest.testCreateDatasetAlignment | 1PASS | ||
0.7586207
|
jalview.bin.CommandsTest.structureImageAnnotationsOutputTestjalview.bin.CommandsTest.structureImageAnnotationsOutputTest | 1PASS | ||
0.7586207
|
jalview.datamodel.AlignmentTest.testAddSequencePreserveDatasetIntegrityjalview.datamodel.AlignmentTest.testAddSequencePreserveDatasetIntegrity | 1PASS | ||
0.7586207
|
jalview.datamodel.AlignmentTest.testVerifyAlignmentDatasetRefsjalview.datamodel.AlignmentTest.testVerifyAlignmentDatasetRefs | 1PASS | ||
0.7586207
|
jalview.io.AnnotationExporterTest.testAnnotationExportAsCSVjalview.io.AnnotationExporterTest.testAnnotationExportAsCSV | 1PASS | ||
0.7586207
|
jalview.gui.AlignFrameTest.testHideFeatureColumnsjalview.gui.AlignFrameTest.testHideFeatureColumns | 1PASS | ||
0.7586207
|
jalview.bin.CommandsTest.structureImageAnnotationsOutputTestjalview.bin.CommandsTest.structureImageAnnotationsOutputTest | 1PASS | ||
0.7586207
|
jalview.renderer.seqfeatures.FeatureRendererTest.testFindFeaturesAtColumnjalview.renderer.seqfeatures.FeatureRendererTest.testFindFeaturesAtColumn | 1PASS | ||
0.7586207
|
jalview.datamodel.AlignmentTest.testAlignAs_dnaAsDnajalview.datamodel.AlignmentTest.testAlignAs_dnaAsDna | 1PASS | ||
0.7586207
|
jalview.analysis.scoremodels.FeatureDistanceModelTest.testFindFeatureAt_PointFeaturejalview.analysis.scoremodels.FeatureDistanceModelTest.testFindFeatureAt_PointFeature | 1PASS | ||
0.7586207
|
jalview.analysis.AlignmentUtilsTests.testMakeCdsAlignment_multipleProteinsjalview.analysis.AlignmentUtilsTests.testMakeCdsAlignment_multipleProteins | 1PASS | ||
0.7586207
|
jalview.gui.QuitHandlerTest.testUnsavedChangesjalview.gui.QuitHandlerTest.testUnsavedChanges | 1PASS | ||
0.7586207
|
jalview.datamodel.AlignmentTest.testAssertDatasetIsNormalisedjalview.datamodel.AlignmentTest.testAssertDatasetIsNormalised | 1PASS | ||
0.7586207
|
jalview.bin.CommandsTest.allLinkedIdsTestjalview.bin.CommandsTest.allLinkedIdsTest | 1PASS | ||
0.7586207
|
jalview.gui.AlignViewportTest.testUpdateConservation_qualityOnlyjalview.gui.AlignViewportTest.testUpdateConservation_qualityOnly | 1PASS | ||
0.7586207
|
jalview.gui.AlignViewportTest.testSetGlobalColourSchemejalview.gui.AlignViewportTest.testSetGlobalColourScheme | 1PASS | ||
0.7586207
|
jalview.analysis.scoremodels.FeatureDistanceModelTest.testFeatureScoreModel_hiddenFirstColumnjalview.analysis.scoremodels.FeatureDistanceModelTest.testFeatureScoreModel_hiddenFirstColumn | 1PASS | ||
0.7586207
|
jalview.bin.CommandsTest.structureImageOutputTestjalview.bin.CommandsTest.structureImageOutputTest | 1PASS | ||
0.7586207
|
jalview.gui.FeatureSettingsTest.testSaveLoadjalview.gui.FeatureSettingsTest.testSaveLoad | 1PASS | ||
0.7586207
|
jalview.gui.QuitHandlerTest.testSavedProjectChangesjalview.gui.QuitHandlerTest.testSavedProjectChanges | 1PASS | ||
0.7586207
|
jalview.renderer.seqfeatures.FeatureRendererTest.testFindAllFeaturesjalview.renderer.seqfeatures.FeatureRendererTest.testFindAllFeatures | 1PASS | ||
0.7586207
|
jalview.analysis.AlignmentUtilsTests.testAlignAs_alternateTranscriptsUngappedjalview.analysis.AlignmentUtilsTests.testAlignAs_alternateTranscriptsUngapped | 1PASS | ||
0.7586207
|
jalview.bin.CommandsTest.commandsOpenTestjalview.bin.CommandsTest.commandsOpenTest | 1PASS | ||
0.7586207
|
jalview.bin.CommandsTest.allLinkedIdsTestjalview.bin.CommandsTest.allLinkedIdsTest | 1PASS | ||
0.7586207
|
jalview.bin.CommandsTest.structureImageAnnotationsOutputTestjalview.bin.CommandsTest.structureImageAnnotationsOutputTest | 1PASS | ||
0.7586207
|
jalview.gui.StructureChooserTest.openStructureFileForSequenceTestjalview.gui.StructureChooserTest.openStructureFileForSequenceTest | 1PASS | ||
0.7586207
|
jalview.gui.AlignViewportTest.testDeregisterMapping_withNoReferencejalview.gui.AlignViewportTest.testDeregisterMapping_withNoReference | 1PASS | ||
0.7586207
|
jalview.project.Jalview2xmlTests.testSaveLoadFeatureColoursAndFiltersjalview.project.Jalview2xmlTests.testSaveLoadFeatureColoursAndFilters | 1PASS | ||
0.7586207
|
jalview.ext.jmol.JmolViewerTest.testAddStrToSingleSeqViewJMoljalview.ext.jmol.JmolViewerTest.testAddStrToSingleSeqViewJMol | 1PASS | ||
0.7586207
|
jalview.bin.CommandsTest.commandsOpenTestjalview.bin.CommandsTest.commandsOpenTest | 1PASS | ||
0.7586207
|
jalview.bin.CommandsTest2.structureOpeningArgsTestjalview.bin.CommandsTest2.structureOpeningArgsTest | 1PASS | ||
0.7586207
|
jalview.gui.QuitHandlerTest.testWaitForSaveQuitjalview.gui.QuitHandlerTest.testWaitForSaveQuit | 1PASS | ||
0.7586207
|
jalview.schemes.ClustalxColourSchemeTest.testFindColourjalview.schemes.ClustalxColourSchemeTest.testFindColour | 1PASS | ||
0.7586207
|
jalview.io.FeaturesFileTest.testParse_jalviewFeaturesOnlyjalview.io.FeaturesFileTest.testParse_jalviewFeaturesOnly | 1PASS | ||
0.7586207
|
jalview.analysis.scoremodels.FeatureDistanceModelTest.testFeatureScoreModeljalview.analysis.scoremodels.FeatureDistanceModelTest.testFeatureScoreModel | 1PASS | ||
0.7586207
|
jalview.analysis.AlignmentUtilsTests.testGetSequencesByNamejalview.analysis.AlignmentUtilsTests.testGetSequencesByName | 1PASS | ||
0.7586207
|
jalview.renderer.seqfeatures.FeatureRendererTest.testFindComplementFeaturesAtResiduejalview.renderer.seqfeatures.FeatureRendererTest.testFindComplementFeaturesAtResidue | 1PASS | ||
0.7586207
|
jalview.analysis.SeqsetUtilsTest.testSeqFeatureAdditionjalview.analysis.SeqsetUtilsTest.testSeqFeatureAddition | 1PASS | ||
0.7586207
|
jalview.bin.CommandsTest.structureImageAnnotationsOutputTestjalview.bin.CommandsTest.structureImageAnnotationsOutputTest | 1PASS | ||
0.7586207
|
jalview.renderer.ScaleRendererTest.testCalculateMarksjalview.renderer.ScaleRendererTest.testCalculateMarks | 1PASS | ||
0.20689656
|
jalview.datamodel.AlignmentTest.testAddCodonFramejalview.datamodel.AlignmentTest.testAddCodonFrame | 1PASS |
1 | /* | ||||||
2 | * Jalview - A Sequence Alignment Editor and Viewer ($$Version-Rel$$) | ||||||
3 | * Copyright (C) $$Year-Rel$$ The Jalview Authors | ||||||
4 | * | ||||||
5 | * This file is part of Jalview. | ||||||
6 | * | ||||||
7 | * Jalview is free software: you can redistribute it and/or | ||||||
8 | * modify it under the terms of the GNU General Public License | ||||||
9 | * as published by the Free Software Foundation, either version 3 | ||||||
10 | * of the License, or (at your option) any later version. | ||||||
11 | * | ||||||
12 | * Jalview is distributed in the hope that it will be useful, but | ||||||
13 | * WITHOUT ANY WARRANTY; without even the implied warranty | ||||||
14 | * of MERCHANTABILITY or FITNESS FOR A PARTICULAR | ||||||
15 | * PURPOSE. See the GNU General Public License for more details. | ||||||
16 | * | ||||||
17 | * You should have received a copy of the GNU General Public License | ||||||
18 | * along with Jalview. If not, see <http://www.gnu.org/licenses/>. | ||||||
19 | * The Jalview Authors are detailed in the 'AUTHORS' file. | ||||||
20 | */ | ||||||
21 | package jalview.util; | ||||||
22 | |||||||
23 | import java.util.AbstractSet; | ||||||
24 | import java.util.Iterator; | ||||||
25 | import java.util.LinkedHashMap; | ||||||
26 | |||||||
27 | /** | ||||||
28 | * Order preserving Set based on System.identityHashCode() for an object, which | ||||||
29 | * also supports Object->index lookup. | ||||||
30 | * | ||||||
31 | * @author Jim Procter (2016) based on Evgeniy Dorofeev's response: via | ||||||
32 | * https://stackoverflow.com/questions/17276658/linkedidentityhashset | ||||||
33 | * | ||||||
34 | */ | ||||||
|
|||||||
35 | public class LinkedIdentityHashSet<E> extends AbstractSet<E> | ||||||
36 | { | ||||||
37 | LinkedHashMap<IdentityWrapper, IdentityWrapper> set = new LinkedHashMap<>(); | ||||||
38 | |||||||
|
|||||||
39 | static class IdentityWrapper | ||||||
40 | { | ||||||
41 | Object obj; | ||||||
42 | |||||||
43 | public int p; | ||||||
44 | |||||||
|
|||||||
45 | 4002 | IdentityWrapper(Object obj, int p)... | |||||
46 | { | ||||||
47 | 4002 | this.obj = obj; | |||||
48 | 4002 | this.p = p; | |||||
49 | } | ||||||
50 | |||||||
|
|||||||
51 | 109 | @Override... | |||||
52 | public boolean equals(Object obj) | ||||||
53 | { | ||||||
54 | 109 | return this.obj == ((IdentityWrapper) obj).obj; | |||||
55 | } | ||||||
56 | |||||||
|
|||||||
57 | 7895 | @Override... | |||||
58 | public int hashCode() | ||||||
59 | { | ||||||
60 | 7895 | return System.identityHashCode(obj); | |||||
61 | } | ||||||
62 | } | ||||||
63 | |||||||
|
|||||||
64 | 4002 | @Override... | |||||
65 | public boolean add(E e) | ||||||
66 | { | ||||||
67 | 4002 | IdentityWrapper el = (new IdentityWrapper(e, set.size())); | |||||
68 | // Map.putIfAbsent() from Java 8 | ||||||
69 | // return set.putIfAbsent(el, el) == null; | ||||||
70 | 4002 | return putIfAbsent(el, el) == null; | |||||
71 | } | ||||||
72 | |||||||
73 | /** | ||||||
74 | * If the specified key is not already associated with a value (or is mapped | ||||||
75 | * to null) associates it with the given value and returns null, else returns | ||||||
76 | * the current value. | ||||||
77 | * | ||||||
78 | * Method added for Java 7 (can remove for Java 8) | ||||||
79 | * | ||||||
80 | * @param key | ||||||
81 | * @param value | ||||||
82 | * @return | ||||||
83 | * @see https | ||||||
84 | * ://docs.oracle.com/javase/8/docs/api/java/util/Map.html#putIfAbsent | ||||||
85 | * -K-V- | ||||||
86 | */ | ||||||
|
|||||||
87 | 4002 | private IdentityWrapper putIfAbsent(IdentityWrapper key,... | |||||
88 | IdentityWrapper value) | ||||||
89 | { | ||||||
90 | 4002 | IdentityWrapper v = set.get(key); | |||||
91 | 4002 | if (v == null) | |||||
92 | { | ||||||
93 | 3893 | v = set.put(key, value); | |||||
94 | } | ||||||
95 | 4002 | return v; | |||||
96 | } | ||||||
97 | |||||||
|
|||||||
98 | 587 | @Override... | |||||
99 | public Iterator<E> iterator() | ||||||
100 | { | ||||||
101 | 587 | return new Iterator<E>() | |||||
102 | { | ||||||
103 | final Iterator<IdentityWrapper> se = set.keySet().iterator(); | ||||||
104 | |||||||
|
|||||||
105 | 4481 | @Override... | |||||
106 | public boolean hasNext() | ||||||
107 | { | ||||||
108 | 4481 | return se.hasNext(); | |||||
109 | } | ||||||
110 | |||||||
|
|||||||
111 | 3896 | @SuppressWarnings("unchecked")... | |||||
112 | @Override | ||||||
113 | public E next() | ||||||
114 | { | ||||||
115 | 3896 | return (E) se.next().obj; | |||||
116 | } | ||||||
117 | |||||||
|
|||||||
118 | 0 | @Override... | |||||
119 | public void remove() | ||||||
120 | { | ||||||
121 | // Java 8 default behaviour | ||||||
122 | 0 | throw new UnsupportedOperationException(); | |||||
123 | } | ||||||
124 | }; | ||||||
125 | } | ||||||
126 | |||||||
|
|||||||
127 | 1170 | @Override... | |||||
128 | public int size() | ||||||
129 | { | ||||||
130 | 1170 | return set.size(); | |||||
131 | } | ||||||
132 | |||||||
133 | /** | ||||||
134 | * Lookup the index for e in the set | ||||||
135 | * | ||||||
136 | * @param e | ||||||
137 | * @return position of e in the set when it was added. | ||||||
138 | */ | ||||||
|
|||||||
139 | 0 | public int indexOf(E e)... | |||||
140 | { | ||||||
141 | 0 | return set.get(e).p; | |||||
142 | } | ||||||
143 | } |