Click or drag to resize

PairTFirst, TSecond Class

General-purpose pair of values of any type. The pair only equals another pair if the objects that form the pair equal, ie. first pair first object equals (.equals) the second pair first object, and the first pair second object equals the second pair second object.
Inheritance Hierarchy
SystemObject
  com.espertech.esper.compat.collectionsPairTFirst, TSecond

Namespace:  com.espertech.esper.compat.collections
Assembly:  NEsper.Compat (in NEsper.Compat.dll) Version: 8.0.0.0
Syntax
C#
[SerializableAttribute]
public sealed class Pair<TFirst, TSecond>

Type Parameters

TFirst

[Missing <typeparam name="TFirst"/> documentation for "T:com.espertech.esper.compat.collections.Pair`2"]

TSecond

[Missing <typeparam name="TSecond"/> documentation for "T:com.espertech.esper.compat.collections.Pair`2"]

The PairTFirst, TSecond type exposes the following members.

Constructors
Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
Public methodGetHashCode
Serves as a hash function for a particular type.
Public methodToString
Returns a String that represents the current Object.
Top
Fields
  NameDescription
Public fieldFirst
Gets or sets the first value within pair.
Public fieldSecond
Gets or sets the second value within pair.
Top
See Also