C# Класс Quartz.Collection.TreeSet

Наследование: System.Collections.ArrayList, ISortedSet
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
AddWithoutSorting ( object obj ) : bool

Описание методов

Add() публичный Метод

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.
Результат bool

AddAll() публичный Метод

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
Результат bool

Contains() публичный Метод

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.
Результат bool

First() публичный Метод

Returns the first item in the set.
public First ( ) : object
Результат object

TailSet() публичный Метод

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.
Результат ISortedSet

TreeSet() публичный Метод

Initializes a new instance of the TreeSet class.
public TreeSet ( ) : System
Результат System

TreeSet() публичный Метод

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.
Результат System

TreeSet() публичный Метод

Initializes a new instance of the TreeSet class.
public TreeSet ( IComparer c ) : System
c IComparer The c.
Результат System

UnmodifiableTreeSet() публичный статический Метод

Unmodifiables the tree set.
public static UnmodifiableTreeSet ( ICollection collection ) : TreeSet
collection ICollection The collection.
Результат TreeSet