Namespace: OpenEdge.Core.Collections
Class
ValueCollection
Parent classes:
Inherits: OpenEdge.Core.Collections.MapBackedCollection

Copyright (c) 2013 by Progress Software Corporation. All rights reserved.
File:ValueCollection
Purpose:ICollection implementation over values in an IMap (also TT based)
object that needs collection capabilities..
used to return Values IMap
Author(s):hdaniels
Created:2010
Notes:no empty constructor, specialized for IMap
- Changes to the map are reflected here, and vice-versa.
- Supports removal and removes the corresponding map entry from the map
(Iterator.remove, Collection.remove, removeAll, retainAll and clear) .
- Do not support add and addAll.
- no empty constructor, specialised for IMap




Method Summary
Options Name Purpose
LOGICAL Contains (Object)
LOGICAL ContainsAll (ICollection)
LOGICAL Remove (Object) /* slow... use Remove on Map or Map:KeySet() instead */
LOGICAL RemoveAll (ICollection)
LOGICAL RetainAll (ICollection)

Constructor Summary
Options Name Purpose
ValueCollection (IMap, handle, character)


Method Detail
Top

LOGICAL Contains (Object)

Parameters:
checkObject Progress.Lang.Object
Returns LOGICAL
Top

LOGICAL ContainsAll (ICollection)

Parameters:
poCollection OpenEdge.Core.Collections.ICollection
Returns LOGICAL
Top

LOGICAL Remove (Object)

/* slow... use Remove on Map or Map:KeySet() instead
Parameters:
poOld Progress.Lang.Object
Returns LOGICAL
Top

LOGICAL RemoveAll (ICollection)

Parameters:
poRemoveCol OpenEdge.Core.Collections.ICollection
Returns LOGICAL
Top

LOGICAL RetainAll (ICollection)

Parameters:
poCol OpenEdge.Core.Collections.ICollection
Returns LOGICAL


Constructor Detail
Top

ValueCollection (IMap, handle, character)

Parameters:
poMap OpenEdge.Core.Collections.IMap
phTT HANDLE
pcValuefield CHARACTER


Copyright © 2022 Progress Software Corporation. All rights Reserved.

Progress® OpenEdge® Release 11.7.15