Parent Directory | Revision Log | Patch
revision 1.4 by mark, Sat Jul 2 20:32:15 2005 UTC | revision 1.5 by abalkiss, Thu Sep 22 18:22:53 2005 UTC | |
---|---|---|
# | Line 68 public abstract class BaseBreakIterator | Line 68 public abstract class BaseBreakIterator |
68 | return iter.getBeginIndex(); | return iter.getBeginIndex(); |
69 | } | } |
70 | ||
71 | /** | |
72 | * Return the first boundary after <code>pos</code>. | |
73 | * This has the side effect of setting the index of the | |
74 | * CharacterIterator. | |
75 | */ | |
76 | public int following (int pos) | public int following (int pos) |
77 | { | { |
78 | int save = iter.getIndex(); | int save = iter.getIndex(); |
79 | iter.setIndex(pos); | iter.setIndex(pos); |
80 | int r = next (); | int r = next (); |
iter.setIndex(save); | ||
81 | return r; | return r; |
82 | } | } |
83 |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |