|
Oracle® Information Rights Management Server Java API Reference 11g Release 1 (11.1.1) E12907-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.irm.engine.core.device.NetworkAdapterCollectionFactory
public final class NetworkAdapterCollectionFactory
Network Adapter collection factory and utilities. This class provides methods for creating new instances of NetworkAdapter
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 Network Adapter 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<NetworkAdapter> |
EMPTY_NETWORK_ADAPTERS An empty Network Adapter collection. |
Method Summary | |
---|---|
static Collection<NetworkAdapter> |
copyNetworkAdapters(Collection<NetworkAdapter> collection) Create a shallow copy of a Network Adapter collection. |
static Collection<NetworkAdapter> |
createNetworkAdapters(int capacity) Create an empty Network Adapter collection with a capacity specified. |
static Collection<NetworkAdapter> |
createNetworkAdapters(NetworkAdapter... elements) Create a Network Adapter collection containing zero or more elements. |
static Collection<NetworkAdapter> |
unmodifiableNetworkAdapters(Collection<NetworkAdapter> value) Create an immutable shallow copy of a Network Adapter 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<NetworkAdapter> EMPTY_NETWORK_ADAPTERS
Method Detail |
---|
public static Collection<NetworkAdapter> createNetworkAdapters(NetworkAdapter... elements)
elements
- The elements to add into the collection.public static Collection<NetworkAdapter> createNetworkAdapters(int capacity)
capacity
- The initial collection capacity.public static Collection<NetworkAdapter> copyNetworkAdapters(Collection<NetworkAdapter> collection)
collection
- The collection to copy.public static Collection<NetworkAdapter> unmodifiableNetworkAdapters(Collection<NetworkAdapter> value)
value
- The collection to copy.
|
Oracle® Information Rights Management Server Java API Reference 11g Release 1 (11.1.1) E12907-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |