Package com.ibm.icu.util
Class StringTrieBuilder
- java.lang.Object
-
- com.ibm.icu.util.StringTrieBuilder
-
- Direct Known Subclasses:
BytesTrieBuilder
,CharsTrieBuilder
public abstract class StringTrieBuilder extends Object
Base class for string trie builder classes.This class is not intended for public subclassing.
- Author:
- Markus W. Scherer
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
StringTrieBuilder.Option
Build options for BytesTrieBuilder and CharsTrieBuilder.
-
Field Summary
Fields Modifier and Type Field Description protected StringBuilder
strings
Deprecated.This API is ICU internal only.
-
Constructor Summary
Constructors Modifier Constructor Description protected
StringTrieBuilder()
Deprecated.This API is ICU internal only.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected void
addImpl(CharSequence s, int value)
Deprecated.This API is ICU internal only.protected void
buildImpl(StringTrieBuilder.Option buildOption)
Deprecated.This API is ICU internal only.protected void
clearImpl()
Deprecated.This API is ICU internal only.protected abstract int
getMaxBranchLinearSubNodeLength()
Deprecated.This API is ICU internal only.protected abstract int
getMaxLinearMatchLength()
Deprecated.This API is ICU internal only.protected abstract int
getMinLinearMatch()
Deprecated.This API is ICU internal only.protected abstract boolean
matchNodesCanHaveValues()
Deprecated.This API is ICU internal only.protected abstract int
write(int unit)
Deprecated.This API is ICU internal only.protected abstract int
write(int offset, int length)
Deprecated.This API is ICU internal only.protected abstract int
writeDeltaTo(int jumpTarget)
Deprecated.This API is ICU internal only.protected abstract int
writeValueAndFinal(int i, boolean isFinal)
Deprecated.This API is ICU internal only.protected abstract int
writeValueAndType(boolean hasValue, int value, int node)
Deprecated.This API is ICU internal only.
-
-
-
Field Detail
-
strings
@Deprecated protected StringBuilder strings
Deprecated.This API is ICU internal only.
-
-
Constructor Detail
-
StringTrieBuilder
@Deprecated protected StringTrieBuilder()
Deprecated.This API is ICU internal only.
-
-
Method Detail
-
addImpl
@Deprecated protected void addImpl(CharSequence s, int value)
Deprecated.This API is ICU internal only.
-
buildImpl
@Deprecated protected final void buildImpl(StringTrieBuilder.Option buildOption)
Deprecated.This API is ICU internal only.
-
clearImpl
@Deprecated protected void clearImpl()
Deprecated.This API is ICU internal only.
-
matchNodesCanHaveValues
@Deprecated protected abstract boolean matchNodesCanHaveValues()
Deprecated.This API is ICU internal only.
-
getMaxBranchLinearSubNodeLength
@Deprecated protected abstract int getMaxBranchLinearSubNodeLength()
Deprecated.This API is ICU internal only.
-
getMinLinearMatch
@Deprecated protected abstract int getMinLinearMatch()
Deprecated.This API is ICU internal only.
-
getMaxLinearMatchLength
@Deprecated protected abstract int getMaxLinearMatchLength()
Deprecated.This API is ICU internal only.
-
write
@Deprecated protected abstract int write(int unit)
Deprecated.This API is ICU internal only.
-
write
@Deprecated protected abstract int write(int offset, int length)
Deprecated.This API is ICU internal only.
-
writeValueAndFinal
@Deprecated protected abstract int writeValueAndFinal(int i, boolean isFinal)
Deprecated.This API is ICU internal only.
-
writeValueAndType
@Deprecated protected abstract int writeValueAndType(boolean hasValue, int value, int node)
Deprecated.This API is ICU internal only.
-
writeDeltaTo
@Deprecated protected abstract int writeDeltaTo(int jumpTarget)
Deprecated.This API is ICU internal only.
-
-