/** * Get the number of {@link ClassificationModel} instances attached to this {@link ReportFileModel} */ default long getClassificationCount() { return getClassificationModels().size(); } }
/** * Get the number of {@link ClassificationModel} instances attached to this {@link ReportFileModel} */ default long getClassificationCount() { return getClassificationModels().size(); } }
public static Set<String> gatherReportFileTags(ReportFileModel reportFileModel) { Set<String> allTags = new HashSet<>(); for (ClassificationModel classificationModel : reportFileModel.getClassificationModels()) { for (String tag : classificationModel.getTags()) allTags.add(tag); } for (InlineHintModel inlineHintModel : reportFileModel.getInlineHints()) { for (String tag : inlineHintModel.getTags()) allTags.add(tag); } return allTags; } }
public static Set<String> gatherReportFileTags(ReportFileModel reportFileModel) { Set<String> allTags = new HashSet<>(); for (ClassificationModel classificationModel : reportFileModel.getClassificationModels()) { for (String tag : classificationModel.getTags()) allTags.add(tag); } for (InlineHintModel inlineHintModel : reportFileModel.getInlineHints()) { for (String tag : inlineHintModel.getTags()) allTags.add(tag); } return allTags; } }