OpenEdge.Core.Collections.Set
- Last Updated: January 15, 2026
- 4 minute read
- OpenEdge
- Version 12.8
- Documentation
|
Method Summary
| Options | Name | Purpose | |
|---|---|---|---|
| LOGICAL Add (Object) |
/** Appends the specified element to the set if not already present
@param Object The element to add to the collection (may not be an unknown value)
@return logical True if the operation succeeded. */
|
||
| LOGICAL AddAll (ICollection) |
/** Adds all of the input collection to the current list.
Items from the input collection as added to the END of
the current list.
To prepend items, call AddAll(1, ICollection)
@param OpenEdge.Core.Collections.ICollection The collection to add.
@return logical TRUE if items were added (ie the input collection has at least one item) */
|
||
| LOGICAL AddArray (Object[]) |
/** Adds an array of elements to the collection
@param Object[] An array of elements to add to the collection
@return logical True if the operation succeeded. */
|
||
| LOGICAL AddNull () |
/** Appends an unknown value element to the set if not already present
@return logical True if the operation succeeded. */
|
||
| Clear () |
/** Removes all of the elements from this list */
|
||
| LOGICAL Contains (Object) |
/** Check whether the collection contains at least one object
that matches the passed in object.
@param Object The object
@return logical Returns true if the object is in the collection */
|
||
| LOGICAL ContainsAll (ICollection) |
/** Returns true if this list contains all of the elements of the
specified collection.
@param OpenEdge.Core.Collections.ICollection The collection of obejcts to check
@return logical True if all the elements match */
|
||
| LOGICAL Equals (Object) |
/* Equals if and only if Set and every member of the specified set is contained in this set
@param Object The object to compare
@param logical TRUE if the object to compare is equal */
|
||
| LOGICAL IsEmpty () |
/** Indicates whether this collection has any elements.
@return logical True if the collection is empty. */
|
||
| OpenEdge.Core.Collections.IIterator Iterator () |
/* Returns a new IIterator over the collection.
@return OpenEdge.Core.Collections.IIterator An iterator for this list */
|
||
| LOGICAL Remove (Object) |
/** Removes the occurrence in this Set of the specified element
@param Object The object to remove
@return logical True if the operation succeded. */
|
||
| LOGICAL RemoveAll (ICollection) |
/** Removes from this Set all the elements that are contained in the
specified collection (optional operation).
@param OpenEdge.Core.Collections.ICollection The collection to remove.
@return logical True if the operation succeeded. */
|
||
| LOGICAL RetainAll (ICollection) |
/** Retains only the elements in this Set that are contained in the
specified collection (optional operation).
This method creates a UNION of the input collection and this Set.
@param OpenEdge.Core.Collections.ICollection The collection to retain
@return Logical True if the object changed */
|
||
| Progress.Lang.Object ToArray () |
/** Returns the contents of the collection as an array of objects.
@return Object[] The collection returnes as an object array */
|
||
| ToTable (table-handle) |
/** Returns the contents of the collection as temp-table. This is a shallow
copy of the collection - basically a new set of references is created.
@param output table-handle The collection as a temp-table */
|
Constructor Summary
| Options | Name | Purpose | |
|---|---|---|---|
| Set () |
/* Default constructor */
|
||
| Set (ISet) |
/* Constructor
@param ISet Initial set */
|
Property Summary
| Options | Name | Purpose | |
|---|---|---|---|
| INTEGER Size |
|
Method Detail
LOGICAL Add (Object)
|
||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
LOGICAL AddAll (ICollection)
|
||||||||||||||||||||||
LOGICAL AddArray (Object[])
|
||||||||||||||||||||||
LOGICAL AddNull ()
|
||||||||||||||||||||||
Clear ()
|
||||||||||||||||||||||
LOGICAL Contains (Object)
|
||||||||||||||||||||||
LOGICAL ContainsAll (ICollection)
|
||||||||||||||||||||||
LOGICAL Equals (Object)
|
||||||||||||||||||||||
LOGICAL IsEmpty ()
|
||||||||||||||||||||||
OpenEdge.Core.Collections.IIterator Iterator ()
|
||||||||||||||||||||||
LOGICAL Remove (Object)
|
||||||||||||||||||||||
LOGICAL RemoveAll (ICollection)
|
||||||||||||||||||||||
LOGICAL RetainAll (ICollection)
|
||||||||||||||||||||||
Progress.Lang.Object ToArray ()
|
||||||||||||||||||||||
ToTable (table-handle)
|
||||||||||||||||||||||
Constructor Detail
Set ()
|
||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
Set (ISet)
|
||||||||||||
Property Detail
INTEGER Size
|
||||||||
|---|---|---|---|---|---|---|---|---|