Namespace: OpenEdge.Core.Collections
Class
Set
Parent classes:
Inherits: OpenEdge.Core.Collections.AbstractTTCollection
Implements: OpenEdge.Core.Collections.ISet

Copyright (c) 2013,2014,2017-2018 by Progress Software Corporation. All rights reserved.
File:Set
Purpose:A collection that contains no duplicate elements.
Author(s):hdaniels
Created:Wed Jan 09 10:45:45 EST 2008
/* temp-table




Method Summary
Options Name Purpose
LOGICAL Add (Object)
Overrides OpenEdge.Core.Collections.AbstractTTCollection:Add (Object)
LOGICAL AddAll (ICollection)
Overrides OpenEdge.Core.Collections.AbstractTTCollection:AddAll (ICollection)
LOGICAL AddArray (Object[])
Inherited from OpenEdge.Core.Collections.AbstractTTCollection
Clear ()
Inherited from OpenEdge.Core.Collections.AbstractTTCollection
Progress.Lang.Object Clone () /* Deep clone. or rather deep enough since we don't know what the elements' Clone() operations do, so this may end up being a memberwise clone */
Inherited from OpenEdge.Core.Collections.AbstractTTCollection
CloneElements (ICollection)
Inherited from OpenEdge.Core.Collections.AbstractTTCollection
LOGICAL Contains (Object)
Overrides OpenEdge.Core.Collections.AbstractTTCollection:Contains (Object)
LOGICAL ContainsAll (ICollection)
Inherited from OpenEdge.Core.Collections.AbstractTTCollection
LOGICAL Equals (Object) /* Equals if Set and every member of the specified set is contained in this set */
FindBufferUseObject (Object)
Overrides OpenEdge.Core.Collections.AbstractTTCollection:FindBufferUseObject (Object)
FindBufferUseObject (Object, buffer)
LOGICAL IsEmpty ()
Inherited from OpenEdge.Core.Collections.AbstractTTCollection
OpenEdge.Core.Collections.IIterator Iterator () /* Returns a new IIterator over the collection. */
Inherited from OpenEdge.Core.Collections.AbstractTTCollection
LOGICAL Remove (Object)
Inherited from OpenEdge.Core.Collections.AbstractTTCollection
LOGICAL RemoveAll (ICollection)
Overrides OpenEdge.Core.Collections.AbstractTTCollection:RemoveAll (ICollection)
Resize () /** Recalculates the Size of this collections. Used particularly by Lists since there are operations like Remove() that are index-based and not item-based. */
Inherited from OpenEdge.Core.Collections.AbstractTTCollection
LOGICAL RetainAll (ICollection)
Inherited from OpenEdge.Core.Collections.AbstractTTCollection
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.AbstractTTCollection
ToTable (table-handle)
Inherited from OpenEdge.Core.Collections.AbstractTTCollection

Constructor Summary
Options Name Purpose
Set () /* Default constructor */
Set (ISet) /* Constructor @param ISet Initial set */

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


Method Detail
Top

PUBLIC LOGICAL Add (Object)

Overrides OpenEdge.Core.Collections.AbstractTTCollection:Add (Object)
Parameters:
obj Progress.Lang.Object
Returns LOGICAL
Top

PUBLIC LOGICAL AddAll (ICollection)

Overrides OpenEdge.Core.Collections.AbstractTTCollection:AddAll (ICollection)
Parameters:
collection OpenEdge.Core.Collections.ICollection
Returns LOGICAL
Top

PUBLIC LOGICAL AddArray (Object[])

Inherited from OpenEdge.Core.Collections.AbstractTTCollection
Parameters:
objectArray Progress.Lang.Object
Returns LOGICAL
Top

PUBLIC Clear ()

Inherited from OpenEdge.Core.Collections.AbstractTTCollection
Top

PUBLIC Progress.Lang.Object Clone ()

Inherited from OpenEdge.Core.Collections.AbstractTTCollection
/* Deep clone. or rather deep enough since we don't know what the elements' Clone()
operations do, so this may end up being a memberwise clone
Returns Progress.Lang.Object
Top

PROTECTED CloneElements (ICollection)

Inherited from OpenEdge.Core.Collections.AbstractTTCollection
Parameters:
poClone OpenEdge.Core.Collections.ICollection
Top

PUBLIC LOGICAL Contains (Object)

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

PUBLIC LOGICAL ContainsAll (ICollection)

Inherited from OpenEdge.Core.Collections.AbstractTTCollection
Parameters:
poCollection OpenEdge.Core.Collections.ICollection
Returns LOGICAL
Top

PUBLIC 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 FindBufferUseObject (Object)

Overrides OpenEdge.Core.Collections.AbstractTTCollection:FindBufferUseObject (Object)
Parameters:
obj Progress.Lang.Object
Top

PROTECTED FindBufferUseObject (Object, buffer)

Parameters:
obj Progress.Lang.Object
pbSet buffer
Top

PUBLIC LOGICAL IsEmpty ()

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

PUBLIC OpenEdge.Core.Collections.IIterator Iterator ()

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

PUBLIC LOGICAL Remove (Object)

Inherited from OpenEdge.Core.Collections.AbstractTTCollection
Parameters:
oldObject Progress.Lang.Object
Returns LOGICAL
Top

PUBLIC LOGICAL RemoveAll (ICollection)

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

PROTECTED Resize ()

Inherited from OpenEdge.Core.Collections.AbstractTTCollection
Purpose: Recalculates the Size of this collections.
Used particularly by Lists since there are operations
like Remove() that are index-based and not item-based.
Top

PUBLIC LOGICAL RetainAll (ICollection)

Inherited from OpenEdge.Core.Collections.AbstractTTCollection
Parameters:
oCol OpenEdge.Core.Collections.ICollection
Returns LOGICAL
Top

PUBLIC Progress.Lang.Object ToArray ()

Inherited from OpenEdge.Core.Collections.AbstractTTCollection
/* 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.AbstractTTCollection
Parameters:
tt TABLE-HANDLE


Constructor Detail
Top

PUBLIC Set ()

/* Default constructor
Top

PUBLIC Set (ISet)

/* Constructor
Parameters:
copyset OpenEdge.Core.Collections.ISet


Property Detail
Top

PUBLIC INTEGER Size

Inherited from OpenEdge.Core.Collections.AbstractTTCollection
Returns INTEGER


Copyright © 2020 Progress Software Corporation. All rights Reserved.

Progress® OpenEdge® Release 12.2.0