Code Coverage
 
Classes and Traits
Functions and Methods
Lines
Total  
 
 
 
CRAP  
 
<?php
// Copyright (c) Lellys Informática. All rights reserved. See License.txt in the project root for license information.
namespace Easy\Collections\Generic;
/**
 * The IComparer<T> type exposes the following members.
 * 
 * @since 2.1.0
 * @author Ítalo Lelis de Vietro <italolelis@lellysinformatica.com>
 */
interface IComparer
{
    /**
     * Compares two objects and returns a value indicating whether one is less than, equal to, or greater than the other.
     * @param object $x The first object to compare.
     * @param object $y The second object to compare.
     * @return bool A boolean that indicates the relative values of x and y, as shown in the following table.
     */
    public function compare($x, $y);
}