From 52cedb5bdba8a76d13276251e34df79c198bca00 Mon Sep 17 00:00:00 2001 From: Ray Greenwell Date: Tue, 24 Mar 2009 21:00:38 +0000 Subject: [PATCH] Comment. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5692 542714f4-19e9-0310-aa3c-eee0fc999fb1 --- src/as/com/threerings/util/Comparable.as | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/as/com/threerings/util/Comparable.as b/src/as/com/threerings/util/Comparable.as index ddd40d8a8..8c32d0f76 100644 --- a/src/as/com/threerings/util/Comparable.as +++ b/src/as/com/threerings/util/Comparable.as @@ -23,6 +23,11 @@ package com.threerings.util { public interface Comparable { + /** + * Compare this object to the other one, and return 0 if they're equal, + * -1 if this object is less than the other, or 1 if this object is greater. + * Note: Please use [-1, 0, 1] to be compatible with flex Sort objects. + */ function compareTo (other :Object) :int; } }