mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-07 22:44:49 +00:00
ICU-13620 Adding more comments on CollectionSet.
X-SVN-Rev: 41302
This commit is contained in:
parent
215417117e
commit
e63d20ff62
1 changed files with 4 additions and 0 deletions
|
@ -9,6 +9,10 @@ import java.util.Set;
|
|||
/**
|
||||
* A wrapper around java.util.Collection that implements java.util.Set. This class keeps a pointer to the
|
||||
* Collection and does not persist any data on its own.
|
||||
*
|
||||
* Useful when you need a Set but creating a HashSet is too expensive.
|
||||
*
|
||||
* IMPORTANT: The elements of the Collection *must* be unique! This class does not check.
|
||||
*/
|
||||
public class CollectionSet<E> implements Set<E> {
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue