xtd 0.2.0
Loading...
Searching...
No Matches
icomparer.h
Go to the documentation of this file.
1
4#pragma once
5#include "../../interface.h"
6#include "../../int32.h"
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.h: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.h:58
int32_t int32
Represents a 32-bit signed integer.
Definition int32.h: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.h:10