TeeChartPHP
[ class tree: TeeChartPHP ] [ index: TeeChartPHP ] [ all elements ]

Source for file Comparator.php

Documentation is available at Comparator.php

  1. <?php
  2.  
  3.  /**
  4.  * Comparator class
  5.  *
  6.  * Description: Describes a number of different DateTime steps
  7.  *
  8.  * @author
  9.  * @copyright (c) 1995-2008 by Steema Software SL. All Rights Reserved. <info@steema.com>
  10.  * @version 1.0
  11.  * @package TeeChartPHP
  12.  * @link http://www.steema.com
  13.  */
  14.  
  15. /**
  16. * A comparison function, which imposes a <i>total ordering</i> on some
  17. * collection of integers.  Comparators can be passed to a sort method (such as
  18. * <tt>misc.Utils.sort</tt>) to allow precise control over the sort order.
  19. *
  20. */
  21. interface Comparator{
  22. /**
  23. * Compares its two arguments for order.  Returns a negative integer,
  24. * zero, or a positive integer as the first argument is less than, equal
  25. * to, or greater than the second.<p>
  26. *
  27. @param the first integer to be compared.
  28. @param the second integer to be compared.
  29. @return negative integer, zero, or a positive integer as the
  30. *             first argument is less than, equal to, or greater than the
  31. *            second.
  32. */
  33. function compare($a$b);
  34. }
  35. ?>

Documentation generated on Wed, 16 Jun 2010 12:04:38 +0200 by phpDocumentor 1.4.1