Click or drag to resize

WritableComparableT Class

Abstract base class for classes implementing IWritable that encapsulate a simple existing comparable type.
Inheritance Hierarchy
SystemObject
  Ookii.Jumbo.IOWritableComparableT

Namespace: Ookii.Jumbo.IO
Assembly: Ookii.Jumbo (in Ookii.Jumbo.dll) Version: 0.3.0+dc1307f20e065bb638e0b73a34cd216f57e486f1
Syntax
public abstract class WritableComparable<T> : IWritable, 
	IComparable<WritableComparable<T>>, IComparable, IEquatable<WritableComparable<T>>

Type Parameters

T
The underlying type of the writable.

The WritableComparableT type exposes the following members.

Constructors
 NameDescription
Protected methodWritableComparableTInitializes a new instance of the WritableComparableT class
Top
Properties
 NameDescription
Protected propertyComparer Gets a comparer to use to compare the values.
Public propertyValue Gets or sets the underlying string value.
Top
Methods
 NameDescription
Public methodCompareTo(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.
Public methodCompareTo(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.
Public methodEquals(Object) Determines whether the specified Object is equal to the current WritableComparableT.
(Overrides ObjectEquals(Object))
Public methodEquals(WritableComparableT) Determines whether the specified WritableComparableT is equal to the current WritableComparableT.
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCode Serves as a hash function for a particular type.
(Overrides ObjectGetHashCode)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodRead Reads the object from the specified reader.
Public methodToString Returns a string representation of this WritableComparableT.
(Overrides ObjectToString)
Public methodWrite Writes the object to the specified writer.
Top
Operators
 NameDescription
Public operatorStatic memberEquality(WritableComparableT, WritableComparableT) Compares two instances of WritableComparableT for equality.
Public operatorStatic memberGreaterThan(WritableComparableT, WritableComparableT) Checks if the first operand sorts after the right operand.
Public operatorStatic memberGreaterThanOrEqual(WritableComparableT, WritableComparableT) Checks if the first operand sorts after or equal to the right operand.
Public operatorStatic memberInequality(WritableComparableT, WritableComparableT) Compares two instances of WritableComparableT for inequality.
Public operatorStatic memberLessThan(WritableComparableT, WritableComparableT) Checks if the first operand sorts before the right operand.
Public operatorStatic memberLessThanOrEqual(WritableComparableT, WritableComparableT) Checks if the first operand sorts before or equal to the right operand.
Top
See Also