mirror of
https://github.com/gcc-mirror/gcc.git
synced 2026-05-06 23:25:24 +02:00
2003-04-30 Michael Koch <konqueror@gmx.de>
* java/text/BreakIterator.java (clone): New method. From-SVN: r66289
This commit is contained in:
committed by
Michael Koch
parent
70ff9d9023
commit
d3d40e23b3
@@ -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.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user