SET(T) Members
The SET <T > type exposes the following members.

Constructors

  NameDescription
Public methodSET <T >  Create a new instance of the DSET class
Public methodSET <T >(IEnumerable)Initializes a new instance of the SET <T > class
Public methodSET <T >(Comparison <T >) Createa a new instance of the DSET class using comparator as the comparison function
Public methodSET <T >(Int32) Create a new instance of the DSET class with the capacity specified
Public methodSET <T >(T) Create a set with one item
Public methodSET <T >(IEnumerable <T >, Comparison <T >) Create a new instance of the DSET class using the specified collection and comparator
Public methodSET <T >(IEnumerable, Comparison <T >) Create a new instance of the SET class using the specified items
Public methodSET <T >(Int32, Comparison <T >) Create a new instance of the DSET class with the specified initial capacity and comparator
Public methodSET <T >(T, Comparison <T >) Create a new instance of the SET class using the specified first item

Methods

  NameDescription
Public methodAdd Add an item to the set (Overrides COLL <T > Add(T).)
Public methodClear Clear this set (Overrides COLL <T > Clear .)
Public methodClone Clone this object (Inherited from ANY.)
Public methodContains Determine if this set contains another item (Overrides COLL <T > Contains(T).)
Public methodCopyTo Copy this to an array (Overrides COLL <T > CopyTo( T , Int32).)
Public methodStatic memberCreateSET Creates a new instance of the set collection with the default comparator
Public methodEquals(Object) Override of base equals (Overrides COLL <T > Equals(Object).)
Public methodEquals(ANY) Determine if this ANY is equal to another ANY (Inherited from ANY.)
Public methodEquals(COLL <T >) Determine if this SET of T equals another SET of T (Inherited from COLL <T >.)
Public methodEquals(SET <T >) Determine if this SET of T equals another SET of T
Public methodExcept(T) Return a new DSET with all the contents of this DSET except the element specified
Public methodExcept(SET <T >) Return a new DSET with all contents of this DSET except the items in the other set
Public methodExcludesAll Returns true if other does not contain any of the items in this list (Inherited from COLL <T >.)
Protected methodOnlineFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from OnlineObject.)
Public methodFind Find all items that match the given predicate (Inherited from COLL <T >.)
Public methodFindAll Find all occurences of match (Inherited from COLL <T >.)
Public methodGetEnumerator Get this set's enumerator (Overrides COLL <T > GetEnumerator .)
Public methodOnlineGetHashCodeServes as a hash function for a particular type. (Inherited from OnlineObject.)
Public methodOnlineGetTypeGets the OnlineType of the current instance. (Inherited from OnlineObject.)
Public methodIncludesAll Returns true if other contains all the items in this list (Inherited from COLL <T >.)
Public methodIndexOf Get the index of an item (Overrides COLL <T > IndexOf(T).)
Public methodInsert Insert an item at a specified index (Overrides COLL <T > Insert(Int32, T).)
Public methodIntersection Intersect this DSET and another DSET
Protected methodOnlineMemberwiseCloneCreates a shallow copy of the current OnlineObject. (Inherited from OnlineObject.)
Public methodRemove Remove an item from the set (Overrides COLL <T > Remove(T).)
Public methodRemoveAt Remove a specific item (Overrides COLL <T > RemoveAt(Int32).)
Public methodSemanticEquals Determine if the two items are semantically equal (Overrides ANY SemanticEquals(IAny).)
Public methodSubSequence(Int32) Return a portion of the set starting from the specified item
Public methodSubSequence(Int32, Int32) Return a portion of the set
Public methodToString Convert this set to a string (Overrides ANY ToString .)
Public methodUnion(T) Create a union of this set and another set
Public methodUnion(SET <T >) Union this set with another set
Public methodValidate Validate the collection. (Inherited from COLL <T >.)
Public methodValidateEx Validate the data type returning the validation errors that occur (Inherited from COLL <T >.)

Operators

  NameDescription
Public operatorStatic member (LIST <T > to SET <T >) Create a set of T from Array o (shallow copy)

Fields

  NameDescription
Public fieldStatic memberDefaultComparator Default comparator

Properties

  NameDescription
Public propertyComparator Get or set the predicate that will determine an object's involvement into the set
Public propertyControlActExt Identifies the extension of the identifier of the event associated with the setting of the data type to the value (Inherited from HXIT.)
Public propertyControlActRoot Identifies the root of the identifier of the event associated with the setting of the data type to the value (Inherited from HXIT.)
Public propertyCount Return the number of items in the set (Overrides COLL <T > Count.)
Public propertyDataType The data type of the value (Inherited from ANY.)
Public propertyFirst Get the first item from the collection
Public propertyFlavor Gets or sets the flavor identifier for the datatype (Inherited from ANY.)
Public propertyIsEmpty Determine if the set is empty (Overrides COLL <T > IsEmpty.)
Public propertyIsNull A predicate indicating that a value is an exceptional value or a null value (Inherited from ANY.)
Public propertyIsReadOnly Return if the set is read only (Overrides COLL <T > IsReadOnly.)
Public propertyItem Indexer property (Overrides COLL <T > Item Int32 >.)
Public propertyItems Get or set the items that make up this set (Overrides COLL <T > Items.)
Public propertyLast Get the last item from the collection
Public propertyNullFlavor Gets or sets an exceptional NullFlavor value that identifies why the contents of a datatype are not being processed. (Inherited from ANY.)
Public propertyUpdateMode Gets or sets the update mode of the datatype (Inherited from ANY.)
Public propertyValidTimeHigh Identifies the time that the given information has or will no longer be valid (Inherited from HXIT.)
Public propertyValidTimeLow Identifies the time that the given information has or will become valid (Inherited from HXIT.)

See Also