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

Purpose: ****************************************************************************
Copyright 2012 Progress Software Corporation
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
File:KeySet
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




Method Summary
Options Name Purpose
LOGICAL Contains (Object)
LOGICAL ContainsAll (ICollection)
LOGICAL Equals (Object) /* Equals if Set and every member of the specified set is contained in this set */
LOGICAL Remove (Object)
LOGICAL RemoveAll (ICollection)
LOGICAL RetainAll (ICollection)

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


Method Detail
Top

LOGICAL Contains (Object)

Parameters:
poObj Progress.Lang.Object
Returns LOGICAL
Top

LOGICAL ContainsAll (ICollection)

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

LOGICAL Equals (Object)

/* Equals if Set and every member of the specified set is contained in this set
Parameters:
o Progress.Lang.Object
Returns LOGICAL
Top

LOGICAL Remove (Object)

Parameters:
poOld Progress.Lang.Object
Returns LOGICAL
Top

LOGICAL RemoveAll (ICollection)

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

LOGICAL RetainAll (ICollection)

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


Constructor Detail
Top

KeySet (IMap, handle, character)

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


Copyright © 2022 Progress Software Corporation. All rights Reserved.

Progress® OpenEdge® Release 11.7.15