Namespace: OpenEdge.Core.Collections
Type: Class ValueCollection
Parent Classes:
Inherits: OpenEdge.Core.Collections.MapBackedCollection


Copyright (c) 2013, 2020 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)
  ValueCollection (IMap, handle, character, character) /* Constructor @param IMap The owning map @param handle The underlying TT holding the data @param character (optional) Query string @param character The field holding the data in the TT */

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
 
Top

ValueCollection (IMap, handle, character, character)

/* Constructor
Parameters:
pMap OpenEdge.Core.Collections.IMap
 
pTT HANDLE
 
pQueryString CHARACTER
 
pValueField CHARACTER