|
Oracle® Information Rights Management Server Java API Reference 11g Release 1 (11.1.1) E12907-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.irm.engine.classifications.context.ContextCookieCollectionFactory
public final class ContextCookieCollectionFactory
Context Cookie collection factory and utilities. This class provides methods for creating new instances of ContextCookie
collections as well as providing a number of collection based utility methods and fields. These methods are provided mainly for convenience and to provide a consistent way to create Context Cookie collections. Methods that take collection parameters make no assumptions about what collection implementation is used, so the use of these factory style methods is at the developers discretion.
Field Summary | |
---|---|
static Collection<ContextCookie> |
EMPTY_CONTEXT_COOKIES An empty Context Cookie collection. |
Method Summary | |
---|---|
static Set<ContextCookie> |
contextCookiesAsSet(Collection<ContextCookie> collection) Create a set of Context Cookie elements from a collection. |
static Collection<ContextCookie> |
copyContextCookies(Collection<ContextCookie> collection) Create a shallow copy of a Context Cookie collection. |
static Collection<ContextCookie> |
createContextCookies(ContextCookie... elements) Create a Context Cookie collection containing zero or more elements. |
static Collection<ContextCookie> |
createContextCookies(int capacity) Create an empty Context Cookie collection with a capacity specified. |
static Collection<ContextCookie> |
unmodifiableContextCookies(Collection<ContextCookie> value) Create an immutable shallow copy of a Context Cookie collection. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final Collection<ContextCookie> EMPTY_CONTEXT_COOKIES
Method Detail |
---|
public static Collection<ContextCookie> createContextCookies(ContextCookie... elements)
elements
- The elements to add into the collection.public static Collection<ContextCookie> createContextCookies(int capacity)
capacity
- The initial collection capacity.public static Collection<ContextCookie> copyContextCookies(Collection<ContextCookie> collection)
collection
- The collection to copy.public static Set<ContextCookie> contextCookiesAsSet(Collection<ContextCookie> collection)
collection
- The collection to copy.public static Collection<ContextCookie> unmodifiableContextCookies(Collection<ContextCookie> value)
value
- The collection to copy.
|
Oracle® Information Rights Management Server Java API Reference 11g Release 1 (11.1.1) E12907-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |