com.ibm.icu.util
Class StringTrieBuilder

java.lang.Object
  extended by 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
Status:
Draft ICU 4.8.

Nested Class Summary
static class StringTrieBuilder.Option
          Build options for BytesTrieBuilder and CharsTrieBuilder.
 
Field Summary
protected  StringBuilder strings
          Deprecated. This API is ICU internal only.
 
Constructor Summary
protected StringTrieBuilder()
          Deprecated. This API is ICU internal only.
 
Method Summary
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

strings

protected StringBuilder strings
Deprecated. This API is ICU internal only.
Status:
Internal. This API is ICU internal only.
Constructor Detail

StringTrieBuilder

protected StringTrieBuilder()
Deprecated. This API is ICU internal only.

Status:
Internal. This API is ICU internal only.
Method Detail

addImpl

protected void addImpl(CharSequence s,
                       int value)
Deprecated. This API is ICU internal only.

Status:
Internal. This API is ICU internal only.

buildImpl

protected final void buildImpl(StringTrieBuilder.Option buildOption)
Deprecated. This API is ICU internal only.

Status:
Internal. This API is ICU internal only.

clearImpl

protected void clearImpl()
Deprecated. This API is ICU internal only.

Status:
Internal. This API is ICU internal only.

matchNodesCanHaveValues

protected abstract boolean matchNodesCanHaveValues()
Deprecated. This API is ICU internal only.

Status:
Internal. This API is ICU internal only.

getMaxBranchLinearSubNodeLength

protected abstract int getMaxBranchLinearSubNodeLength()
Deprecated. This API is ICU internal only.

Status:
Internal. This API is ICU internal only.

getMinLinearMatch

protected abstract int getMinLinearMatch()
Deprecated. This API is ICU internal only.

Status:
Internal. This API is ICU internal only.

getMaxLinearMatchLength

protected abstract int getMaxLinearMatchLength()
Deprecated. This API is ICU internal only.

Status:
Internal. This API is ICU internal only.

write

protected abstract int write(int unit)
Deprecated. This API is ICU internal only.

Status:
Internal. This API is ICU internal only.

write

protected abstract int write(int offset,
                             int length)
Deprecated. This API is ICU internal only.

Status:
Internal. This API is ICU internal only.

writeValueAndFinal

protected abstract int writeValueAndFinal(int i,
                                          boolean isFinal)
Deprecated. This API is ICU internal only.

Status:
Internal. This API is ICU internal only.

writeValueAndType

protected abstract int writeValueAndType(boolean hasValue,
                                         int value,
                                         int node)
Deprecated. This API is ICU internal only.

Status:
Internal. This API is ICU internal only.

writeDeltaTo

protected abstract int writeDeltaTo(int jumpTarget)
Deprecated. This API is ICU internal only.

Status:
Internal. This API is ICU internal only.


Copyright (c) 2011 IBM Corporation and others.