public class Gene extends Object
| Modifier and Type | Field and Description |
|---|---|
long |
born |
List<Exon> |
exon |
Set<String> |
rngs |
| Modifier and Type | Method and Description |
|---|---|
@NotNull String |
build()
Build back to the raw template or escaped text via gene.
|
String |
graph()
Print the syntax tree and check for edge continuity.
|
static int |
graph(Writer buff,
List<Exon> exon,
int level,
int start)
Print the syntax tree and check for edge continuity.
|
@NotNull String |
merge(Map<String,Object> ctx)
Merge with the context, and output as string.
|
@NotNull String |
merge(Map<String,Object> ctx,
int len)
Merge with the context, and output as string.
|
void |
merge(Map<String,Object> ctx,
Writer out)
Merge with the context, and output to the Writer.
|
@NotNull public @NotNull String merge(Map<String,Object> ctx)
@NotNull public @NotNull String merge(Map<String,Object> ctx, int len)
ctx - the contextlen - Estimate the size of the result to avoid buffer expansion.public void merge(Map<String,Object> ctx, Writer out)
@NotNull public @NotNull String build()
public String graph()
public static int graph(Writer buff, List<Exon> exon, int level, int start)
buff - the buffer to printexon - list of exonlevel - level, 1-basestart - start point (include), 0-baseCopyright © 2024. All rights reserved.