commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Henri Yandell <flame...@gmail.com>
Subject Re: FormattableUtils
Date Sat, 23 Apr 2011 06:32:07 GMT
On Fri, Apr 22, 2011 at 8:58 AM, Gary Gregory <garydgregory@gmail.com> wrote:
> On Fri, Apr 22, 2011 at 9:58 AM, Matt Benson <gudnabrsam@gmail.com> wrote:
>
>> On Fri, Apr 22, 2011 at 8:56 AM, Gary Gregory <garydgregory@gmail.com>
>> wrote:
>> > Hi All:
>> >
>> > Now that we have the shiny and new FormattableUtils class, what are the
>> > other opportunities in [lang] to eat our own dog food?
>> >
>>
>> What did you have in mind?
>>
>
> I am just wondering what other [lang] classes should be Formattable.
> StopWatch for example?

Having hijacked the thread; possible Formattables that jump out:

Fraction
Range
StopWatch
The Mutables (or maybe Formatter knows special things about Number already)
BitField

More exhaustively, anything with a toString method of some kind:

src/main/java//org/apache/commons/lang3/builder/ReflectionToStringBuilder.java
src/main/java//org/apache/commons/lang3/builder/ToStringBuilder.java
src/main/java//org/apache/commons/lang3/CharRange.java
src/main/java//org/apache/commons/lang3/CharSet.java
src/main/java//org/apache/commons/lang3/concurrent/ConstantInitializer.java
src/main/java//org/apache/commons/lang3/JavaVersion.java
src/main/java//org/apache/commons/lang3/math/Fraction.java
src/main/java//org/apache/commons/lang3/mutable/MutableBoolean.java
src/main/java//org/apache/commons/lang3/mutable/MutableByte.java
src/main/java//org/apache/commons/lang3/mutable/MutableDouble.java
src/main/java//org/apache/commons/lang3/mutable/MutableFloat.java
src/main/java//org/apache/commons/lang3/mutable/MutableInt.java
src/main/java//org/apache/commons/lang3/mutable/MutableLong.java
src/main/java//org/apache/commons/lang3/mutable/MutableObject.java
src/main/java//org/apache/commons/lang3/mutable/MutableShort.java
src/main/java//org/apache/commons/lang3/Range.java
src/main/java//org/apache/commons/lang3/text/StrBuilder.java
src/main/java//org/apache/commons/lang3/text/StrTokenizer.java
src/main/java//org/apache/commons/lang3/time/DurationFormatUtils.java
src/main/java//org/apache/commons/lang3/time/FastDateFormat.java
src/main/java//org/apache/commons/lang3/time/StopWatch.java
src/main/java//org/apache/commons/lang3/tuple/Pair.java

Hen

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Mime
View raw message