public class STST extends TST
8+48*n(n为元素个数)
B=24+48*n
| 限定符和类型 | 类和说明 |
|---|---|
protected static class |
STST.Node
2+27+对齐填充=32
B=48
|
| 限定符 | 构造器和说明 |
|---|---|
protected |
STST() |
| 限定符和类型 | 方法和说明 |
|---|---|
Short |
get(char[] a) |
protected Iterable<Short> |
get(STST.Node x,
boolean prefix) |
Iterable<Short> |
getAll() |
Iterable<Short> |
getByPrefix(char[] prefix) |
Iterable<char[]> |
getChars(Predicate<Short> predicate,
int limit) |
static STST |
of() |
void |
put(char[] a,
short val) |
protected STST.Node |
put(STST.Node x,
char[] a,
short val,
int d) |
Copyright © 2022. All rights reserved.