Oracle Coherence for C++ API
Release 3.7.1.0

E22845-01

ReadOnlyArrayList Class Reference

#include <coherence/util/ReadOnlyArrayList.hpp>

Inherits ReadOnlyMultiList.

List of all members.


Detailed Description

Implementation of the Collection Framework interface "List" in a read- only fashion on top of an array data structure.

This class also implements the Set interface, although the contents are not checked to determine whether each element is unique. It is the responsibility of the user to ensure that the elements are unique if the object is used as a Set.

Author:
mf 2009.08.20
Since:
Coherence 3.6
See also:
ReadOnlyMultiList
 

Public Types

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

Protected Member Functions

 ReadOnlyArrayList (ObjectArray::View vao, size32_t of=0, size32_t c=npos)
 Construct a List from a specified number of items in an array starting at the specified offset.

Constructor & Destructor Documentation

ReadOnlyArrayList ( ObjectArray::View  vao,
    size32_t  of = 0,
    size32_t  c = npos 
  )    [protected]

Construct a List from a specified number of items in an array starting at the specified offset.

Parameters:
 vao a non-NULL array of Objects
 of an offset of the first item in the array
 c the number of items to use


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