On Thu, Jun 2, 2011 at 10:59 AM, Gary Gregory <[email protected]> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to