xtd 0.2.0
Loading...
Searching...
No Matches
icomparer.hpp
Go to the documentation of this file.
1
4#pragma once
5#include "../../interface.hpp"
6#include "../../int32.hpp"
7
9namespace xtd {
11 namespace collections {
13 namespace generic {
29 template<typename type_t>
31 public:
41 virtual int32 compare(const type_t& x, const type_t& y) const = 0;
42 };
43 }
44 }
45}
Exposes a method that compares two objects.
Definition icomparer.hpp:30
virtual int32 compare(const type_t &x, const type_t &y) const =0
Compares two entities and returns a value indicating whether one is less than, equal to,...
#define interface_
This keyword is use to represent an interface.
Definition interface.hpp:58
int32_t int32
Represents a 32-bit signed integer.
Definition int32.hpp:23
@ y
The Y key.
@ x
The X key.
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.hpp:10