On Sep 23, 2009, at 6:09 PM, Michael Gentry wrote:
> #1: Call the enum class Order. I think Order.ASCENDING would be
> readable and intuitive.
+1
>
> #2: Keep it something more descriptive like OrderingDirection, but in
> the Ordering class have a "public static final OrderingDirection
> ASCENDING = OrderingDirection.ASCENDING;". Then you could reference
> Ordering.ASCENDING (kind of like Ordering.ASC). This seems awkward,
> though, but makes it similar to what is already there.
Don't understand this one. Why the new Order enum is not sufficient?
Andrus
This archive was generated by hypermail 2.0.0 : Wed Sep 23 2009 - 11:14:24 EDT