1) Improvements for the XDebug plugin.
[phpeclipse.git] / net.sourceforge.phpeclipse.xdebug.core / src / net / sourceforge / phpeclipse / xdebug / php / model / XDebugVariableComparator.java
1 package net.sourceforge.phpeclipse.xdebug.php.model;\r
2 \r
3 import java.util.Comparator;\r
4 \r
5 public class XDebugVariableComparator implements Comparator {\r
6 \r
7     public int compare (Object arg0, Object arg1) {\r
8         XDebugVariable left  = (XDebugVariable) arg0;\r
9         XDebugVariable right = (XDebugVariable) arg1;\r
10         \r
11         return left.getName ().compareTo (right.getName ());\r
12     }\r
13 \r
14 }\r