On Thu, Jun 2, 2011 at 10:59 AM, Gary Gregory <garydgreg...@gmail.com> wrote: > > I was thinking that the class would also contain at least one toString > method, for example toString(1000, MemoryUnit.BYTES) where MemoryUnit is an > Enum. Useful for logging. >
That's exactly where I use it, in my logging API. I like your idea of specifying the units, but I also like the idea of having a method that auto-picks the largest unit possible. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org