📄 stringsearchresult.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 + -