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


Copyright (c) 2013, 2017, 2020-2021, 2023 by Progress Software Corporation. All rights reserved.
File:EntrySet
Author(s):hdaniels
Created:apr 2010
Notes:DEPRECATED: Uses the MapBackedCollection which used a temp-table
to store the name-value pairs. Instead, use another ISet class
such as OE.Core.Collections.Set.
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 Contains (Object) /* abstract because this could be a key or value */
  LOGICAL ContainsAll (ICollection)
  OpenEdge.Core.Collections.IIterator Iterator () /* Returns a new IIterator over the entryset. */
  LOGICAL Remove (Object) /* abstract because this could be a collection of keys or values */
  LOGICAL RemoveAll (ICollection) /* abstract because this could be a collection of keys or values */
  LOGICAL RetainAll (ICollection) /* abstract because this could be a collection of keys or values */

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 */

Method Detail
Top

LOGICAL Contains (Object)

/* abstract because this could be a key or value
Parameters:
checkObject Progress.Lang.Object
 
Returns LOGICAL
 
Top

LOGICAL ContainsAll (ICollection)

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

OpenEdge.Core.Collections.IIterator Iterator ()

/* Returns a new IIterator over the entryset.
Returns OpenEdge.Core.Collections.IIterator
 
Top

LOGICAL Remove (Object)

/* abstract because this could be a collection of keys or values
Parameters:
poOld Progress.Lang.Object
 
Returns LOGICAL
 
Top

LOGICAL RemoveAll (ICollection)

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

LOGICAL RetainAll (ICollection)

/* abstract because this could be a collection of keys or values
Parameters:
poRetainCollection OpenEdge.Core.Collections.ICollection
 
Returns LOGICAL
 


Constructor Detail
Top

EntrySet (IMap, handle, character)

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

EntrySet (IMap, handle, character, character)

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