Namespace: OpenEdge.Core.Collections
Class
Array
Parent classes:
Progress.Lang.Object

Inherits: Progress.Lang.Object
Implements: OpenEdge.Core.Collections.ICollection

Copyright (c) 2013-2014 by Progress Software Corporation. All rights reserved.
File:Array
Author(s):pjudge
Created:Thu Jun 14 11:35:49 EDT 2012
Notes:* Based on the AutoEdge|TheFactory version




Method Summary
Options Name Purpose
LOGICAL Add (Object) /* ICollection */
LOGICAL AddAll (ICollection)
LOGICAL AddArray (Object[])
Clear ()
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 */
CloneElements (ICollection)
LOGICAL Contains (Object)
LOGICAL ContainsAll (ICollection) /** Returns true if this list contains all of the elements of the specified collection. @param ICollection The collection of obejcts to check @return logical True if all the elements match */
Progress.Lang.Object GetValue (integer)
LOGICAL IsEmpty ()
OpenEdge.Core.Collections.IIterator Iterator ()
LOGICAL Remove (Object)
LOGICAL RemoveAll (ICollection)
LOGICAL RetainAll (ICollection)
SetArraySize (integer)
SetValue (Object)
SetValue (Object, integer)
Progress.Lang.Object ToArray ()
ToTable (table-handle)

Constructor Summary
Options Name Purpose
Array ()
Array ()
Array (integer)
Array (Object[])

Property Summary
Options Name Purpose
LOGICAL AutoExpand /* Keep incrementally growing array Size as new elements are added. AutoExpanded ararys will grow by 50% of the current size each time. This will negatively impact performance. */
LOGICAL DiscardOnShrink /* If true, we'll discard stuff off the bottom of the stack if we resize the stack smaller than its contents. */
INTEGER Size
Progress.Lang.Object Value


Method Detail
Top

LOGICAL Add (Object)

/* ICollection
Parameters:
o Progress.Lang.Object
Returns LOGICAL
Top

LOGICAL AddAll (ICollection)

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

LOGICAL AddArray (Object[])

Parameters:
c Progress.Lang.Object
Returns LOGICAL
Top

Clear ()

Top

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
Returns Progress.Lang.Object
Top

CloneElements (ICollection)

Parameters:
poClone OpenEdge.Core.Collections.ICollection
Top

LOGICAL Contains (Object)

Parameters:
o Progress.Lang.Object
Returns LOGICAL
Top

LOGICAL ContainsAll (ICollection)

Purpose: Returns true if this list contains all of the elements of the
specified collection.
Parameters:
poCollection OpenEdge.Core.Collections.ICollection
Returns LOGICAL
logical True if all the elements match
Top

Progress.Lang.Object GetValue (integer)

Parameters:
piExtent INTEGER
Returns Progress.Lang.Object
Top

LOGICAL IsEmpty ()

Returns LOGICAL
Top

OpenEdge.Core.Collections.IIterator Iterator ()

Returns OpenEdge.Core.Collections.IIterator
Top

LOGICAL Remove (Object)

Parameters:
o Progress.Lang.Object
Returns LOGICAL
Top

LOGICAL RemoveAll (ICollection)

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

LOGICAL RetainAll (ICollection)

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

SetArraySize (integer)

Parameters:
piNewSize INTEGER
Top

SetValue (Object)

Parameters:
poValue Progress.Lang.Object
Top

SetValue (Object, integer)

Parameters:
poValue Progress.Lang.Object
piExtent INTEGER
Top

Progress.Lang.Object ToArray ()

Returns Progress.Lang.Object
Top

ToTable (table-handle)

Parameters:
tt TABLE-HANDLE


Constructor Detail
Top

STATIC Array ()

Top

Array ()

Top

Array (integer)

Parameters:
piSize INTEGER
Top

Array (Object[])

Parameters:
poArray Progress.Lang.Object


Property Detail
Top

LOGICAL AutoExpand

/* Keep incrementally growing array Size as new elements are added. AutoExpanded
ararys will grow by 50% of the current size each time.
This will negatively impact performance.
Returns LOGICAL
Top

LOGICAL DiscardOnShrink

/* If true, we'll discard stuff off the bottom of the stack if
we resize the stack smaller than its contents.
Returns LOGICAL
Top

INTEGER Size

Returns INTEGER
Top

Progress.Lang.Object Value

Returns Progress.Lang.Object


Copyright © 2017 Progress Software Corporation. All rights Reserved.

Progress® OpenEdge® Release 11.7