2003-04-30 Michael Koch <konqueror@gmx.de>
* java/text/BreakIterator.java (clone): New method. From-SVN: r66289
This commit is contained in:
parent
70ff9d9023
commit
d3d40e23b3
2 changed files with 20 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2003-04-30 Michael Koch <konqueror@gmx.de>
|
||||
|
||||
* java/text/BreakIterator.java
|
||||
(clone): New method.
|
||||
|
||||
2003-04-30 Michael Koch <konqueror@gmx.de>
|
||||
|
||||
* java/text/CollationElementIterator.java,
|
||||
|
|
|
@ -76,6 +76,21 @@ public abstract class BreakIterator implements Cloneable
|
|||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a clone of this object.
|
||||
*/
|
||||
public Object clone ()
|
||||
{
|
||||
try
|
||||
{
|
||||
return super.clone();
|
||||
}
|
||||
catch (CloneNotSupportedException e)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* This method returns the index of the current text element boundary.
|
||||
*
|
||||
|
|
Loading…
Add table
Reference in a new issue