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 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 Equals (Object) /* Equals if Set and every member of the specified set is contained in this set */
# 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)
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
# KeySet (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:
poObj Progress.Lang.Object
Returns LOGICAL
Top

PROTECTED LOGICAL ContainsAll (ICollection)

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

PROTECTED 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

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)
Parameters:
poOld Progress.Lang.Object
Returns LOGICAL
Top

PROTECTED LOGICAL RemoveAll (ICollection)

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

PROTECTED LOGICAL RetainAll (ICollection)

Overrides OpenEdge.Core.Collections.MapBackedCollection:RetainAll (ICollection)
Parameters:
collection 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 KeySet (IMap, handle, character)

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


Property Detail
Top

PROTECTED INTEGER Size

Inherited from OpenEdge.Core.Collections.MapBackedCollection
Returns INTEGER


10.27.2015 12:36:22