mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-08 23:10:40 +00:00
ICU-3668 make hasPrevious() const
X-SVN-Rev: 14801
This commit is contained in:
parent
6372240259
commit
91a017c2cc
3 changed files with 3 additions and 3 deletions
|
@ -180,7 +180,7 @@ UCharCharacterIterator::previous() {
|
|||
}
|
||||
|
||||
UBool
|
||||
UCharCharacterIterator::hasPrevious() {
|
||||
UCharCharacterIterator::hasPrevious() const {
|
||||
return (UBool)(pos > begin ? TRUE : FALSE);
|
||||
}
|
||||
|
||||
|
|
|
@ -528,7 +528,7 @@ public:
|
|||
* before the current position in the iteration range, return TRUE otherwise.
|
||||
* @stable ICU 2.0
|
||||
*/
|
||||
virtual UBool hasPrevious() = 0;
|
||||
virtual UBool hasPrevious() const = 0;
|
||||
|
||||
/**
|
||||
* Returns the numeric index in the underlying text-storage
|
||||
|
|
|
@ -301,7 +301,7 @@ public:
|
|||
* before the current position in the iteration range.
|
||||
* @stable ICU 2.0
|
||||
*/
|
||||
virtual UBool hasPrevious();
|
||||
virtual UBool hasPrevious() const;
|
||||
|
||||
/**
|
||||
* Moves the current position relative to the start or end of the
|
||||
|
|
Loading…
Add table
Reference in a new issue