ICU-5032 Comment out unused @internal code.

X-SVN-Rev: 19656
This commit is contained in:
George Rhoten 2006-05-26 00:57:09 +00:00
parent 33bc5c6399
commit 6e035da1d5
4 changed files with 13 additions and 13 deletions

View file

@ -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;
}
}*/
/*
******************************************************************

View file

@ -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>

View file

@ -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;

View file

@ -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.