Mercurial > projects > dwt2
comparison org.eclipse.core.commands/src/org/eclipse/core/commands/Command.d @ 35:634e4380db78
delegate compareTo from opCmp
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Mon, 23 Mar 2009 18:28:04 +0100 |
parents | 735224fcc45f |
children |
comparison
equal
deleted
inserted
replaced
34:a8a838017920 | 35:634e4380db78 |
---|---|
259 } | 259 } |
260 } | 260 } |
261 } | 261 } |
262 return compareTo; | 262 return compareTo; |
263 } | 263 } |
264 public final override int opCmp( Object object ){ | |
265 return compareTo( object ); | |
266 } | |
264 | 267 |
265 /** | 268 /** |
266 * <p> | 269 * <p> |
267 * Defines this command by giving it a name, and possibly a description as | 270 * Defines this command by giving it a name, and possibly a description as |
268 * well. The defined property automatically becomes <code>true</code>. | 271 * well. The defined property automatically becomes <code>true</code>. |