⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 stringsearchresult.java

📁 这是一个用于测试用的搜索引擎的案例
💻 JAVA
字号:
package ir.webutils;/** * Lightweight object for storing both the number of DIFFERENT strings * in a set of search strings that are found in a text as well as the total number  * of occurrences in the text of ANY of the strings in the set. * * @author Ray Mooney */public class StringSearchResult extends Object {    /** Number of different strings found */    public int numberFound;    /** Total number of occurrences of any of the strings */    public int numberOccurrences;        /** Construct result with a given numberFound and numberOccurrences */    public StringSearchResult(int numberFound, int numberOccurrences) {	this.numberFound = numberFound;	this.numberOccurrences = numberOccurrences;    }}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -