Namespace: OpenEdge.Core.Collections
Class
Collection
Parent classes:
Inherits: OpenEdge.Core.Collections.AbstractTTCollection

Copyright (c) 2013 by Progress Software Corporation. All rights reserved.
File:Collection
Author(s):hdaniels
Created:Sun Dec 16 22:41:40 EST 2007
Purpose: General collection class
Notes:




Method Summary
Options Name Purpose
LOGICAL Add (Object)
Inherited from OpenEdge.Core.Collections.AbstractTTCollection
LOGICAL AddAll (ICollection)
Inherited from OpenEdge.Core.Collections.AbstractTTCollection
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) /* Two Collections are defined to be equal if they are the same size and all of the elements in this collection are in the to-compare collection @param P.L.Object @return logical TRUE if the collections are equal. FALSE otherwise */
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)
Inherited from OpenEdge.Core.Collections.AbstractTTCollection
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
Collection ()
Collection (ICollection)

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


Method Detail
Top

PUBLIC LOGICAL Add (Object)

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

PUBLIC LOGICAL AddAll (ICollection)

Inherited from OpenEdge.Core.Collections.AbstractTTCollection
Parameters:
newCollection 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)

/* Two Collections are defined to be equal if they are the same size and
all of the elements in this collection are in the to-compare collection
Parameters:
o Progress.Lang.Object
Returns LOGICAL
logical TRUE if the collections are equal. FALSE otherwise
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
pbCollection 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)

Inherited from OpenEdge.Core.Collections.AbstractTTCollection
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 Collection ()

Top

PUBLIC Collection (ICollection)

Parameters:
c OpenEdge.Core.Collections.ICollection


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