Namespace: OpenEdge.Core.Collections
Interface 
ISet
Parent classes:
Inherits: OpenEdge.Core.Collections.ICollection

Copyright (c) 2013 by Progress Software Corporation. All rights reserved.
File:ISet
Purpose:A collection that contains no duplicate elements.
Author(s):hdaniels
Created:Wed Jan 09 09:57:42 EST 2008
Notes:* Based on the AutoEdge|TheFactory version




Method Summary
Options Name Purpose
# LOGICAL Add (Object) /** Appends the specified element to list if not already present @param Object The element to add to the collection @return logical True if the operation succeeded. */
Inherited from OpenEdge.Core.Collections.ICollection
# LOGICAL AddAll (ICollection) /** Appends all of the elements in the specified collection @param ICollection A collection of elements to add to the collection @return logical True if the operation succeeded. */
Inherited from OpenEdge.Core.Collections.ICollection
# 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. */
Inherited from OpenEdge.Core.Collections.ICollection
# Clear () /** Removes all of the elements from this list */
Inherited from OpenEdge.Core.Collections.ICollection
# LOGICAL Contains (Object) /** Check whether the colleciton 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 */
Inherited from OpenEdge.Core.Collections.ICollection
# 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 */
Inherited from OpenEdge.Core.Collections.ICollection
# LOGICAL IsEmpty () /** Indicates whether this collection has any elements. @return logical True if the collection is empty. */
Inherited from OpenEdge.Core.Collections.ICollection
# IIterator Iterator () /** Returns an iterator object. @param IIterator */
Inherited from OpenEdge.Core.Collections.IIterable
# LOGICAL Remove (Object) /** Removes the first occurrence in this list of the specified element @param Object The @return logical True if the operation succeded. */
Inherited from OpenEdge.Core.Collections.ICollection
# LOGICAL RemoveAll (ICollection) /** Removes from this list all the elements that are contained in the specified collection (optional operation). @param ICollection The collection to remove. @return logical True if the operation succeeded. */
Inherited from OpenEdge.Core.Collections.ICollection
# LOGICAL RetainAll (ICollection) /** Retains only the elements in this list that are contained in the specified collection (optional operation). @param ICollection The collection to retain @return Logical True if the object changed */
Inherited from OpenEdge.Core.Collections.ICollection
# Object ToArray () /** Returns the contents of the collection as an array of objects. @return Object[] The collection returnes as an object array */
Inherited from OpenEdge.Core.Collections.ICollection
# 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 */
Inherited from OpenEdge.Core.Collections.ICollection

Property Summary
Options Name Purpose
# INTEGER Size /** Returns the number of elements in this list. */
Inherited from OpenEdge.Core.Collections.ICollection


Method Detail
Top

PROTECTED LOGICAL Add (Object)

Inherited from OpenEdge.Core.Collections.ICollection
Purpose: Appends the specified element to list if not already present
Parameters:
poElement Object
Returns LOGICAL
logical True if the operation succeeded.
Top

PROTECTED LOGICAL AddAll (ICollection)

Inherited from OpenEdge.Core.Collections.ICollection
Purpose: Appends all of the elements in the specified collection
Parameters:
poCollection OpenEdge.Core.Collections.ICollection
Returns LOGICAL
logical True if the operation succeeded.
Top

PROTECTED LOGICAL AddArray (Object[])

Inherited from OpenEdge.Core.Collections.ICollection
Purpose: Adds an array of elements to the collection
Parameters:
poElements Object
Returns LOGICAL
logical True if the operation succeeded.
Top

PROTECTED Clear ()

Inherited from OpenEdge.Core.Collections.ICollection
Purpose: Removes all of the elements from this list
Top

PROTECTED LOGICAL Contains (Object)

Inherited from OpenEdge.Core.Collections.ICollection
Purpose: Check whether the colleciton contains at least one object
that matches the passed in object.
Parameters:
poElement Object
Returns LOGICAL
logical Returns true if the object is in the collection
Top

PROTECTED LOGICAL ContainsAll (ICollection)

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

Inherited from OpenEdge.Core.Collections.ICollection
Purpose: Indicates whether this collection has any elements.
Returns LOGICAL
logical True if the collection is empty.
Top

PROTECTED IIterator Iterator ()

Inherited from OpenEdge.Core.Collections.IIterable
Purpose: Returns an iterator object.
Returns IIterator
Top

PROTECTED LOGICAL Remove (Object)

Inherited from OpenEdge.Core.Collections.ICollection
Purpose: Removes the first occurrence in this list of the specified element
Parameters:
poElement Object
Returns LOGICAL
logical True if the operation succeded.
Top

PROTECTED LOGICAL RemoveAll (ICollection)

Inherited from OpenEdge.Core.Collections.ICollection
Purpose: Removes from this list all the elements that are contained in the
specified collection (optional operation).
Parameters:
poCollection OpenEdge.Core.Collections.ICollection
Returns LOGICAL
logical True if the operation succeeded.
Top

PROTECTED LOGICAL RetainAll (ICollection)

Inherited from OpenEdge.Core.Collections.ICollection
Purpose: Retains only the elements in this list that are contained in the
specified collection (optional operation).
Parameters:
poCollection OpenEdge.Core.Collections.ICollection
Returns LOGICAL
Logical True if the object changed
Top

PROTECTED Object ToArray ()

Inherited from OpenEdge.Core.Collections.ICollection
Purpose: Returns the contents of the collection as an array of objects.
Returns Object
Object[] The collection returnes as an object array
Top

PROTECTED ToTable (table-handle)

Inherited from OpenEdge.Core.Collections.ICollection
Purpose: 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.
Parameters:
tt TABLE-HANDLE


Property Detail
Top

PROTECTED INTEGER Size

Inherited from OpenEdge.Core.Collections.ICollection
Purpose: Returns the number of elements in this list.
Returns INTEGER


10.27.2015 12:36:21