WritableComparableT Class |
Namespace: Ookii.Jumbo.IO
public abstract class WritableComparable<T> : IWritable, IComparable<WritableComparable<T>>, IComparable, IEquatable<WritableComparable<T>>
The WritableComparableT type exposes the following members.
Name | Description | |
---|---|---|
WritableComparableT | Initializes a new instance of the WritableComparableT class |
Name | Description | |
---|---|---|
Comparer |
Gets a comparer to use to compare the values.
| |
Value |
Gets or sets the underlying string value.
|
Name | Description | |
---|---|---|
CompareTo(Object) |
Compares the current instance with another object of the same type and returns an integer that
indicates whether the current instance precedes, follows, or occurs in the same position in the
sort order as the other object.
| |
CompareTo(WritableComparableT) |
Compares the current instance with another object of the same type and returns an integer that
indicates whether the current instance precedes, follows, or occurs in the same position in the
sort order as the other object.
| |
Equals(Object) |
Determines whether the specified Object is equal to the current WritableComparableT.
(Overrides ObjectEquals(Object).) | |
Equals(WritableComparableT) |
Determines whether the specified WritableComparableT is equal to the current WritableComparableT.
| |
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 a hash function for a particular type.
(Overrides ObjectGetHashCode.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Read |
Reads the object from the specified reader.
| |
ToString |
Returns a string representation of this WritableComparableT.
(Overrides ObjectToString.) | |
Write |
Writes the object to the specified writer.
|
Name | Description | |
---|---|---|
Equality |
Compares two instances of WritableComparableT for equality.
| |
GreaterThan |
Checks if the first operand sorts after the right operand.
| |
GreaterThanOrEqual |
Checks if the first operand sorts after or equal to the right operand.
| |
Inequality |
Compares two instances of WritableComparableT for inequality.
| |
LessThan |
Checks if the first operand sorts before the right operand.
| |
LessThanOrEqual |
Checks if the first operand sorts before or equal to the right operand.
|