public final class Collection extends Object
This is a singleton. All instances are absolutely identical, hence can be compared using == and share one unique hash code. Use COLLECTION
always.
| Modifier and Type | Field and Description |
|---|---|
static Collection |
COLLECTION
Singleton instance, providing improved performance and the ability to compare by same instance.
|
| Constructor and Description |
|---|
Collection()
Deprecated.
Since 1.2. Use
COLLECTION instead to obtain a singleton. In future releases this will have private visibility. |
public static final Collection COLLECTION
@Deprecated public Collection()
COLLECTION instead to obtain a singleton. In future releases this will have private visibility.Copyright © 2008-2014 The java.net WebDAV Project. All Rights Reserved.