mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-07 22:44:49 +00:00
ICU-5469 made stable
X-SVN-Rev: 22259
This commit is contained in:
parent
a9fcf0b0c4
commit
c68a28f9ee
1 changed files with 5 additions and 16 deletions
|
@ -1,18 +1,12 @@
|
|||
/*
|
||||
******************************************************************************
|
||||
* Copyright (C) 200-2006, International Business Machines Corporation and *
|
||||
* Copyright (C) 200-2007, International Business Machines Corporation and *
|
||||
* others. All Rights Reserved. *
|
||||
******************************************************************************
|
||||
*/
|
||||
package com.ibm.icu.util;
|
||||
|
||||
/**
|
||||
* <pre>
|
||||
* DRAFT
|
||||
* Copyright (C) 2005, International Business Machines Corporation and
|
||||
* others. All Rights Reserved.
|
||||
* </pre>
|
||||
*
|
||||
* Provides a flexible mechanism for controlling access, without requiring that
|
||||
* a class be immutable. Once locked, an object can never be unlocked, so it is
|
||||
* thread-safe from that point onward. The implementation of both methods must
|
||||
|
@ -305,30 +299,25 @@ package com.ibm.icu.util;
|
|||
* </pre>
|
||||
*
|
||||
* </blockquote>
|
||||
*
|
||||
* @draft ICU 3.8
|
||||
* @provisional This API might change or be removed in a future release.
|
||||
* @stable ICU 3.8
|
||||
*/
|
||||
public interface Freezable extends Cloneable {
|
||||
/**
|
||||
* Determines whether the object has been locked or not.
|
||||
* @draft ICU 3.8
|
||||
* @provisional This API might change or be removed in a future release.
|
||||
* @stable ICU 3.8
|
||||
*/
|
||||
public boolean isFrozen();
|
||||
|
||||
/**
|
||||
* Locks the object.
|
||||
* @return the object itself.
|
||||
* @draft ICU 3.8
|
||||
* @provisional This API might change or be removed in a future release.
|
||||
* @stable ICU 3.8
|
||||
*/
|
||||
public Object freeze();
|
||||
|
||||
/**
|
||||
* Provides for the clone operation. Any clone is initially unlocked.
|
||||
* @draft ICU 3.8
|
||||
* @provisional This API might change or be removed in a future release.
|
||||
* @stable ICU 3.8
|
||||
*/
|
||||
public Object cloneAsThawed();
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue