C# Class Quartz.Collection.TreeSet

Inheritance: System.Collections.ArrayList, ISortedSet
Afficher le fichier Open project: FelicePollano/Cron.NET Class Usage Examples

Méthodes publiques

Méthode Description
Add ( object obj ) : bool

Adds a new element to the ArrayList if it is not already present and sorts the ArrayList.

AddAll ( ICollection c ) : bool

Adds all the elements of the specified collection that are not present to the list.

Contains ( object item ) : bool

Determines whether an element is in the the current TreeSetSupport collection. The IComparer defined for the current set will be used to make comparisons between the elements already inserted in the collection and the item specified.

First ( ) : object

Returns the first item in the set.

TailSet ( object limit ) : ISortedSet

Returns a portion of the list whose elements are greater than the limit object parameter.

TreeSet ( ) : System

Initializes a new instance of the TreeSet class.

TreeSet ( ICollection c ) : System

Initializes a new instance of the TreeSet class.

TreeSet ( IComparer c ) : System

Initializes a new instance of the TreeSet class.

UnmodifiableTreeSet ( ICollection collection ) : TreeSet

Unmodifiables the tree set.

Private Methods

Méthode Description
AddWithoutSorting ( object obj ) : bool

Method Details

Add() public méthode

Adds a new element to the ArrayList if it is not already present and sorts the ArrayList.
public Add ( object obj ) : bool
obj object Element to insert to the ArrayList.
Résultat bool

AddAll() public méthode

Adds all the elements of the specified collection that are not present to the list.
public AddAll ( ICollection c ) : bool
c ICollection Collection where the new elements will be added
Résultat bool

Contains() public méthode

Determines whether an element is in the the current TreeSetSupport collection. The IComparer defined for the current set will be used to make comparisons between the elements already inserted in the collection and the item specified.
public Contains ( object item ) : bool
item object The object to be locatet in the current collection.
Résultat bool

First() public méthode

Returns the first item in the set.
public First ( ) : object
Résultat object

TailSet() public méthode

Returns a portion of the list whose elements are greater than the limit object parameter.
public TailSet ( object limit ) : ISortedSet
limit object The start element of the portion to extract.
Résultat ISortedSet

TreeSet() public méthode

Initializes a new instance of the TreeSet class.
public TreeSet ( ) : System
Résultat System

TreeSet() public méthode

Initializes a new instance of the TreeSet class.
/// is .
public TreeSet ( ICollection c ) : System
c ICollection The whose elements are copied to the new list.
Résultat System

TreeSet() public méthode

Initializes a new instance of the TreeSet class.
public TreeSet ( IComparer c ) : System
c IComparer The c.
Résultat System

UnmodifiableTreeSet() public static méthode

Unmodifiables the tree set.
public static UnmodifiableTreeSet ( ICollection collection ) : TreeSet
collection ICollection The collection.
Résultat TreeSet