Space Engineers
Public Member Functions | Static Public Attributes | List of all members
VRage.InstanceComparer< T > Class Template Reference

Most probably fastest possible comparer which compares instances of objects More...

Inheritance diagram for VRage.InstanceComparer< T >:

Public Member Functions

bool Equals (T x, T y)
 
int GetHashCode (T obj)
 

Static Public Attributes

static readonly InstanceComparer< T > Default = new InstanceComparer<T>()
 

Detailed Description

Most probably fastest possible comparer which compares instances of objects

Type Constraints
T :class 

Definition at line 12 of file InstanceComparer.cs.

Member Function Documentation

bool VRage.InstanceComparer< T >.Equals ( x,
y 
)
inline

Definition at line 17 of file InstanceComparer.cs.

int VRage.InstanceComparer< T >.GetHashCode ( obj)
inline

Definition at line 22 of file InstanceComparer.cs.

Member Data Documentation

readonly InstanceComparer<T> VRage.InstanceComparer< T >.Default = new InstanceComparer<T>()
static

Definition at line 15 of file InstanceComparer.cs.


The documentation for this class was generated from the following file: