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