Package | Description |
---|---|
com.google.gwt.dev.util.editdistance |
Modifier and Type | Class and Description |
---|---|
static class |
CharIndex.FullHash
An index based on a garden-variety hash map.
|
static class |
CharIndex.Masked
An index based on a simple mask: index(c) = (c & MASK).
|
static class |
CharIndex.Straight
An index based on the identity mapping: index(c) = c.
|
Modifier and Type | Method and Description |
---|---|
static CharIndex |
CharIndex.getInstance(CharSequence s)
Generates an index for a given alphabet, defined by a character sequence.
|
Modifier and Type | Method and Description |
---|---|
static int[] |
PatternBitmap.map(CharSequence s,
CharIndex idx,
int[] result)
Computes a pattern bitmap for a short character sequence.
|
static int[][] |
PatternBitmap.map(CharSequence s,
CharIndex idx,
int[][] result,
int width)
Computes a pattern bitmap for a character sequence of any length.
|
static long[] |
PatternBitmap.map(CharSequence s,
CharIndex idx,
long[] result)
Computes a pattern bitmap for a medium character sequence.
|
Copyright © 2018. All rights reserved.