- java.lang.Object
-
- io.github.kylinhunter.tools.dic.words.analyzer.bean.Words
-
public class Words extends java.lang.Object- 作者:
- BiJi'an
- Description:
- a group words
- Date:
- 2022/1/1
-
-
方法详细资料
-
addWord
public void addWord(Word word)
- 参数:
word- hitWord- Description:
- Date:
- 2022/1/1 11:22 下午
- Title:
- add a hitWord
-
addWord
public void addWord(java.lang.String text, int statOffset, int endOffset)- 参数:
text- textstatOffset- statOffsetendOffset- endOffset- Description:
- Date:
- 2022/1/1 11:22 下午
- Title:
- add a hitWord
-
forEach
public void forEach(java.util.function.Consumer<Word> action)
- 参数:
action- action- Description:
- Date:
- 2022/1/1 11:22 下午
- Title:
- traversal words
-
contains
public boolean contains(java.lang.String text)
- 参数:
text- text- 返回:
- boolean
- Description:
- Date:
- 2022/1/1 11:22 下午
- Title:
- test the words wether contains text
-
size
public int size()
- 返回:
- int
- Description:
- Date:
- 2022/1/1 3:39
- Title:
- the size of words
-
-