| Package | Description |
|---|---|
| org.nlpcn.commons.lang.tire | |
| org.nlpcn.commons.lang.tire.domain | |
| org.nlpcn.commons.lang.util |
| Constructor and Description |
|---|
SmartGetWord(SmartForest<T> forest,
char[] chars) |
SmartGetWord(SmartForest<T> forest,
String content) |
| Modifier and Type | Class and Description |
|---|---|
class |
Forest |
| Modifier and Type | Field and Description |
|---|---|
SmartForest<T>[] |
SmartForest.branches
status 此字的状态1,继续 2,是个词语但是还可以继续 ,3确定 nature 词语性质
|
| Modifier and Type | Method and Description |
|---|---|
SmartForest<T> |
SmartForest.add(SmartForest<T> branch)
增加子页节点
|
SmartForest<T> |
SmartForest.get(char c) |
SmartForest<String[]> |
Forest.get(char c) |
SmartForest<T> |
SmartForest.getBranch(char c) |
SmartForest<String[]> |
Forest.getBranch(char c) |
SmartForest<T> |
SmartForest.getBranch(char[] chars)
根据一个词获得所取的参数,没有就返回null
|
SmartForest<T> |
SmartForest.getBranch(String keyWord)
根据一个词获得所取的参数,没有就返回null
|
SmartForest<T>[] |
SmartForest.getBranches()
取得所有的分支
|
| Modifier and Type | Method and Description |
|---|---|
SmartForest<T> |
SmartForest.add(SmartForest<T> branch)
增加子页节点
|
int |
SmartForest.compareTo(SmartForest<T> o) |
| Modifier and Type | Method and Description |
|---|---|
static <T extends SmartForest<T>> |
AnsjArrays.binarySearch(T[] branches,
char c)
二分法查找.摘抄了jdk的东西..只不过把他的自动装箱功能给去掉了
|
| Modifier and Type | Method and Description |
|---|---|
static <T extends SmartForest<T>> |
AnsjArrays.binarySearch(T[] branches,
char c)
二分法查找.摘抄了jdk的东西..只不过把他的自动装箱功能给去掉了
|
static void |
AnsjArrays.sort(SmartForest[] a) |
static void |
AnsjArrays.sort(SmartForest[] a,
int fromIndex,
int toIndex) |
Copyright © 2016. All rights reserved.