SerialNumbersT Class |
Namespace: Bio.Util
[Missing <typeparam name="T"/> documentation for "T:Bio.Util.SerialNumbers`1"]
The SerialNumbersT type exposes the following members.
Name | Description | |
---|---|---|
SerialNumbersT |
Create a SerialNumbers object for assigning serial numbers to values.
| |
SerialNumbersT(IEnumerableT) |
Create a new SerialNumbers object for assign serial numbers to values and assign serial numbers to the values in the sequence.
|
Name | Description | |
---|---|---|
Count |
The number of items to which serial numbers have been assigned. This is always one more than the largest serial number.
| |
Last |
The last serial number assigned.
|
Name | Description | |
---|---|---|
Contains |
Tells if an item already has a serial number
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetItem |
Given a serialNumber, return the item with that serial number
| |
GetNew |
Assigns a serial number to a new item. Raises an exception of the item is not new.
| |
GetNewOrOld |
Returns the serial number of an item. If the item has already been assigned a serial number, returns that number;
otherwise, assigns a new number to the item and returns that new number.
| |
GetOld |
Finds the serial number of item to which a serial number has already been assigned. Raises an exception of the item is new.
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Save |
Write the items in order to a TextWriter
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
TryGetOld |
Finds the serial number of item to which a serial number has already been assigned.
|
Name | Description | |
---|---|---|
ItemList |
A list of the items in order.
| |
ItemToSerialNumber |
A mapping from items to serial numbers
|