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

PROTECTED LOGICAL Add (Object)

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

PROTECTED LOGICAL AddAll (ICollection)

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

PROTECTED LOGICAL AddArray (Object[])

Parameters:
c Progress.Lang.Object
Returns LOGICAL
Top

PROTECTED Clear ()

Top

PROTECTED 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

PROTECTED LOGICAL Contains (Object)

Parameters:
o Progress.Lang.Object
Returns LOGICAL
Top

PROTECTED 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

PROTECTED Progress.Lang.Object GetValue (integer)

Parameters:
piExtent INTEGER
Returns Progress.Lang.Object
Top

PROTECTED LOGICAL IsEmpty ()

Returns LOGICAL
Top

PROTECTED OpenEdge.Core.Collections.IIterator Iterator ()

Returns OpenEdge.Core.Collections.IIterator
Top

PROTECTED LOGICAL Remove (Object)

Parameters:
o Progress.Lang.Object
Returns LOGICAL
Top

PROTECTED LOGICAL RemoveAll (ICollection)

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

PROTECTED LOGICAL RetainAll (ICollection)

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

PUBLIC SetArraySize (integer)

Parameters:
piNewSize INTEGER
Top

PROTECTED SetValue (Object)

Parameters:
poValue Progress.Lang.Object
Top

PROTECTED SetValue (Object, integer)

Parameters:
poValue Progress.Lang.Object
piExtent INTEGER
Top

PROTECTED Progress.Lang.Object ToArray ()

Returns Progress.Lang.Object
Top

PROTECTED ToTable (table-handle)

Parameters:
tt TABLE-HANDLE


Constructor Detail
Top

STATIC Array ()

Top

PROTECTED Array ()

Top

PROTECTED Array (integer)

Parameters:
piSize INTEGER
Top

PROTECTED Array (Object[])

Parameters:
poArray Progress.Lang.Object


Property Detail
Top

PROTECTED 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

PROTECTED 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

PROTECTED INTEGER Size

Returns INTEGER
Top

Progress.Lang.Object Value

Returns Progress.Lang.Object


10.27.2015 12:36:19