mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-13 17:01:16 +00:00
ICU-5032 Comment out unused @internal code.
X-SVN-Rev: 19656
This commit is contained in:
parent
33bc5c6399
commit
6e035da1d5
4 changed files with 13 additions and 13 deletions
|
@ -23,9 +23,9 @@ U_NAMESPACE_BEGIN
|
|||
******************************************************************
|
||||
*/
|
||||
|
||||
DictionaryBreakEngine::DictionaryBreakEngine() {
|
||||
/*DictionaryBreakEngine::DictionaryBreakEngine() {
|
||||
fTypes = 0;
|
||||
}
|
||||
}*/
|
||||
|
||||
DictionaryBreakEngine::DictionaryBreakEngine(uint32_t breakTypes) {
|
||||
fTypes = breakTypes;
|
||||
|
@ -85,10 +85,10 @@ DictionaryBreakEngine::setCharacters( UnicodeSet &set ) {
|
|||
fSet = set;
|
||||
}
|
||||
|
||||
void
|
||||
/*void
|
||||
DictionaryBreakEngine::setBreakTypes( uint32_t breakTypes ) {
|
||||
fTypes = breakTypes;
|
||||
}
|
||||
}*/
|
||||
|
||||
/*
|
||||
******************************************************************
|
||||
|
|
|
@ -45,14 +45,14 @@ class DictionaryBreakEngine : public LanguageBreakEngine {
|
|||
|
||||
uint32_t fTypes;
|
||||
|
||||
public:
|
||||
|
||||
/**
|
||||
* <p>Default constructor.</p>
|
||||
*
|
||||
*/
|
||||
DictionaryBreakEngine();
|
||||
|
||||
public:
|
||||
|
||||
/**
|
||||
* <p>Constructor setting the break types handled.</p>
|
||||
*
|
||||
|
@ -111,7 +111,7 @@ class DictionaryBreakEngine : public LanguageBreakEngine {
|
|||
*
|
||||
* @param breakTypes A bitmap of types handled by the engine.
|
||||
*/
|
||||
virtual void setBreakTypes( uint32_t breakTypes );
|
||||
// virtual void setBreakTypes( uint32_t breakTypes );
|
||||
|
||||
/**
|
||||
* <p>Divide up a range of known dictionary characters.</p>
|
||||
|
|
|
@ -1482,14 +1482,14 @@ BreakIterator * RuleBasedBreakIterator::createBufferClone(void *stackBuffer,
|
|||
// break iterators.
|
||||
//
|
||||
//-------------------------------------------------------------------------------
|
||||
UBool RuleBasedBreakIterator::isDictionaryChar(UChar32 c) {
|
||||
/*UBool RuleBasedBreakIterator::isDictionaryChar(UChar32 c) {
|
||||
if (fData == NULL) {
|
||||
return FALSE;
|
||||
}
|
||||
uint16_t category;
|
||||
UTRIE_GET16(&fData->fTrie, c, category);
|
||||
return (category & 0x4000) != 0;
|
||||
}
|
||||
}*/
|
||||
|
||||
|
||||
//-------------------------------------------------------------------------------
|
||||
|
@ -1797,9 +1797,9 @@ RuleBasedBreakIterator::getLanguageBreakEngine(UChar32 c) {
|
|||
|
||||
|
||||
|
||||
int32_t RuleBasedBreakIterator::getBreakType() const {
|
||||
/*int32_t RuleBasedBreakIterator::getBreakType() const {
|
||||
return fBreakType;
|
||||
}
|
||||
}*/
|
||||
|
||||
void RuleBasedBreakIterator::setBreakType(int32_t type) {
|
||||
fBreakType = type;
|
||||
|
|
|
@ -596,6 +596,7 @@ protected:
|
|||
*/
|
||||
virtual void reset(void);
|
||||
|
||||
#if 0
|
||||
/**
|
||||
* Return true if the category lookup for this char
|
||||
* indicates that it is in the set of dictionary lookup chars.
|
||||
|
@ -611,14 +612,13 @@ protected:
|
|||
* @internal
|
||||
*/
|
||||
virtual int32_t getBreakType() const;
|
||||
/** @internal */
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Set the type of the break iterator.
|
||||
* @internal
|
||||
*/
|
||||
virtual void setBreakType(int32_t type);
|
||||
/** @internal */
|
||||
|
||||
/**
|
||||
* Common initialization function, used by constructors and bufferClone.
|
||||
|
|
Loading…
Add table
Reference in a new issue