Oracle Fusion Middleware C++ API Reference for Oracle Coherence
12c (12.1.2)

E26041-01

OldCache::KeySet Class Reference

#include <coherence/net/cache/OldCache.hpp>

Inherits MapKeySet.

List of all members.


Detailed Description

A set of entries backed by this map.

Public Types

typedef spec::Handle Handle
 KeySet Handle definition.
typedef spec::View View
 KeySet View definition.
typedef spec::Holder Holder
 KeySet Holder definition.

Protected Member Functions

virtual
ObjectArray::Handle 
toArray (ObjectArray::Handle hoa=NULL) const
 Return the contents of this collection as an ObjectArray.

If the collection fits in the specified array, it is returned, otherwise, a new array is allocated that is the size of this collection.

If this collection fits in the array with aditional room then the element in the array immediately following the end of the collection is set to NULL. This can be useful in determining the length of this collection if the caller knows that the collection does not contain any NULL elements.

Parameters:
hao an array in which to store the collection's contents
Returns:
a ObjectArray containing all the elements of the collection in the same order as returned by the collection's Iterator
See also:
Iterator


The documentation for this class was generated from the following file:
Copyright © 2000, 2013, Oracle and/or its affiliates. All rights reserved.