/***************************************************************************** * EqualityComparer.h * * * * XFX System::Collections::Generic::EqualityComparer class definition file * * Copyright (c) XFX Team. All rights reserved * *****************************************************************************/ #ifndef _SYSTEM_COLLECTIONS_GENERIC_EQUALITYCOMPARER_ #define _SYSTEM_COLLECTIONS_GENERIC_EQUALITYCOMPARER_ #include #include "Interfaces.h" namespace System { namespace Collections { namespace Generic { template class EqualityComparer : public IEqualityComparer, public Object { private: static EqualityComparer defaultComparer; public: static EqualityComparer Default(); bool Equals(const T x, const T y) const; int GetHashCode(const T obj) const; static const Type& GetType(); }; } } } #endif //_SYSTEM_COLLECTIONS_GENERIC_EQUALITYCOMPARER_