Namespace: OpenEdge.Core.Collections
Class
EntrySet
Parent classes:
Inherits: OpenEdge.Core.Collections.MapBackedCollection
Implements: OpenEdge.Core.Collections.ISet

Copyright (c) 2013, 2017, 2020 by Progress Software Corporation. All rights reserved.
File:EntrySet
Author(s):hdaniels
Created:apr 2010
Notes:no empty constructor, specialized for KeySet of 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
/* Constructor




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) /* abstract because this could be a key or value */
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 entryset. */
Overrides OpenEdge.Core.Collections.MapBackedCollection:Iterator ()
LOGICAL Remove (Object) /* abstract because this could be a collection of keys or values */
Overrides OpenEdge.Core.Collections.MapBackedCollection:Remove (Object)
LOGICAL RemoveAll (ICollection) /* abstract because this could be a collection of keys or values */
Overrides OpenEdge.Core.Collections.MapBackedCollection:RemoveAll (ICollection)
LOGICAL RetainAll (ICollection) /* abstract because this could be a collection of keys or values */
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) /* Returns a TT of the collection's data. This may be expensive, depending on the amount of data in the map. @param output table-handle A TT containing the data. */
Inherited from OpenEdge.Core.Collections.MapBackedCollection

Constructor Summary
Options Name Purpose
EntrySet (IMap, handle, character)
EntrySet (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 */

Property Summary
Options Name Purpose
HANDLE KeyField
Inherited from OpenEdge.Core.Collections.MapBackedCollection
HANDLE OwningBuffer
Inherited from OpenEdge.Core.Collections.MapBackedCollection
OpenEdge.Core.Collections.IMap OwningMap
Inherited from OpenEdge.Core.Collections.MapBackedCollection
CHARACTER QueryString
Inherited from OpenEdge.Core.Collections.MapBackedCollection
INTEGER Size
Inherited from OpenEdge.Core.Collections.MapBackedCollection


Method Detail
Top

PUBLIC LOGICAL Add (Object)

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

PUBLIC LOGICAL AddAll (ICollection)

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

PUBLIC LOGICAL AddArray (Object[])

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

PUBLIC Clear ()

Inherited from OpenEdge.Core.Collections.MapBackedCollection
Top

PUBLIC LOGICAL Contains (Object)

Overrides OpenEdge.Core.Collections.MapBackedCollection:Contains (Object)
/* abstract because this could be a key or value
Parameters:
checkObject Progress.Lang.Object
Returns LOGICAL
Top

PUBLIC LOGICAL ContainsAll (ICollection)

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

PUBLIC LOGICAL IsEmpty ()

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

PUBLIC OpenEdge.Core.Collections.IIterator Iterator ()

Overrides OpenEdge.Core.Collections.MapBackedCollection:Iterator ()
/* Returns a new IIterator over the entryset.
Returns OpenEdge.Core.Collections.IIterator
Top

PUBLIC LOGICAL Remove (Object)

Overrides OpenEdge.Core.Collections.MapBackedCollection:Remove (Object)
/* abstract because this could be a collection of keys or values
Parameters:
poOld Progress.Lang.Object
Returns LOGICAL
Top

PUBLIC LOGICAL RemoveAll (ICollection)

Overrides OpenEdge.Core.Collections.MapBackedCollection:RemoveAll (ICollection)
/* abstract because this could be a collection of keys or values
Parameters:
poRemoveCol OpenEdge.Core.Collections.ICollection
Returns LOGICAL
Top

PUBLIC LOGICAL RetainAll (ICollection)

Overrides OpenEdge.Core.Collections.MapBackedCollection:RetainAll (ICollection)
/* abstract because this could be a collection of keys or values
Parameters:
poRetainCollection OpenEdge.Core.Collections.ICollection
Returns LOGICAL
Top

PUBLIC 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

PUBLIC ToTable (table-handle)

Inherited from OpenEdge.Core.Collections.MapBackedCollection
/* Returns a TT of the collection's data.
This may be expensive, depending on the amount of data in the map.
Parameters:
tt TABLE-HANDLE


Constructor Detail
Top

PUBLIC EntrySet (IMap, handle, character)

Parameters:
poMap OpenEdge.Core.Collections.IMap
phTT HANDLE
pcKeyField CHARACTER
Top

PUBLIC EntrySet (IMap, handle, character, character)

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


Property Detail
Top

PROTECTED HANDLE KeyField

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

PROTECTED HANDLE OwningBuffer

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

PROTECTED OpenEdge.Core.Collections.IMap OwningMap

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

PROTECTED CHARACTER QueryString

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

PUBLIC INTEGER Size

Inherited from OpenEdge.Core.Collections.MapBackedCollection
Returns INTEGER


Copyright © 2020 Progress Software Corporation. All rights Reserved.

Progress® OpenEdge® Release 12.2.0