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 Add (Object)
Inherited from OpenEdge.Core.Collections.MapBackedCollection
# LOGICAL AddAll (ICollection)
Inherited from OpenEdge.Core.Collections.MapBackedCollection
# LOGICAL AddArray (Object[])
Inherited from OpenEdge.Core.Collections.MapBackedCollection
# Clear ()
Inherited from OpenEdge.Core.Collections.MapBackedCollection
# LOGICAL Contains (Object)
Overrides OpenEdge.Core.Collections.MapBackedCollection:Contains (Object)
# LOGICAL ContainsAll (ICollection)
Overrides OpenEdge.Core.Collections.MapBackedCollection:ContainsAll (ICollection)
# LOGICAL IsEmpty ()
Inherited from OpenEdge.Core.Collections.MapBackedCollection
# OpenEdge.Core.Collections.IIterator Iterator () /* Returns a new IIterator over the collection. */
Inherited from OpenEdge.Core.Collections.MapBackedCollection
# LOGICAL Remove (Object) /* slow... use Remove on Map or Map:KeySet() instead */
Overrides OpenEdge.Core.Collections.MapBackedCollection:Remove (Object)
# LOGICAL RemoveAll (ICollection)
Overrides OpenEdge.Core.Collections.MapBackedCollection:RemoveAll (ICollection)
# LOGICAL RetainAll (ICollection)
Overrides OpenEdge.Core.Collections.MapBackedCollection:RetainAll (ICollection)
# Progress.Lang.Object ToArray () /* ToArray should not be used with large collections If there is too much data the ABL will throw: Attempt to update data exceeding 32000. (12371) */
Inherited from OpenEdge.Core.Collections.MapBackedCollection
# ToTable (table-handle)
Inherited from OpenEdge.Core.Collections.MapBackedCollection

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

Property Summary
Options Name Purpose
# INTEGER Size
Inherited from OpenEdge.Core.Collections.MapBackedCollection


Method Detail
Top

PROTECTED LOGICAL Add (Object)

Inherited from OpenEdge.Core.Collections.MapBackedCollection
Parameters:
newObject Progress.Lang.Object
Returns LOGICAL
Top

PROTECTED LOGICAL AddAll (ICollection)

Inherited from OpenEdge.Core.Collections.MapBackedCollection
Parameters:
newCollection OpenEdge.Core.Collections.ICollection
Returns LOGICAL
Top

PROTECTED LOGICAL AddArray (Object[])

Inherited from OpenEdge.Core.Collections.MapBackedCollection
Parameters:
o Progress.Lang.Object
Returns LOGICAL
Top

PROTECTED Clear ()

Inherited from OpenEdge.Core.Collections.MapBackedCollection
Top

PROTECTED LOGICAL Contains (Object)

Overrides OpenEdge.Core.Collections.MapBackedCollection:Contains (Object)
Parameters:
checkObject Progress.Lang.Object
Returns LOGICAL
Top

PROTECTED LOGICAL ContainsAll (ICollection)

Overrides OpenEdge.Core.Collections.MapBackedCollection:ContainsAll (ICollection)
Parameters:
poCollection OpenEdge.Core.Collections.ICollection
Returns LOGICAL
Top

PROTECTED LOGICAL IsEmpty ()

Inherited from OpenEdge.Core.Collections.MapBackedCollection
Returns LOGICAL
Top

PROTECTED OpenEdge.Core.Collections.IIterator Iterator ()

Inherited from OpenEdge.Core.Collections.MapBackedCollection
/* Returns a new IIterator over the collection.
Returns OpenEdge.Core.Collections.IIterator
Top

PROTECTED LOGICAL Remove (Object)

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

PROTECTED LOGICAL RemoveAll (ICollection)

Overrides OpenEdge.Core.Collections.MapBackedCollection:RemoveAll (ICollection)
Parameters:
poRemoveCol OpenEdge.Core.Collections.ICollection
Returns LOGICAL
Top

PROTECTED LOGICAL RetainAll (ICollection)

Overrides OpenEdge.Core.Collections.MapBackedCollection:RetainAll (ICollection)
Parameters:
poCol OpenEdge.Core.Collections.ICollection
Returns LOGICAL
Top

PROTECTED Progress.Lang.Object ToArray ()

Inherited from OpenEdge.Core.Collections.MapBackedCollection
/* ToArray should not be used with large collections
If there is too much data the ABL will throw:
Attempt to update data exceeding 32000. (12371)
Returns Progress.Lang.Object
Top

PROTECTED ToTable (table-handle)

Inherited from OpenEdge.Core.Collections.MapBackedCollection
Parameters:
tt TABLE-HANDLE


Constructor Detail
Top

PROTECTED ValueCollection (IMap, handle, character)

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


Property Detail
Top

PROTECTED INTEGER Size

Inherited from OpenEdge.Core.Collections.MapBackedCollection
Returns INTEGER


10.27.2015 12:36:26