Re: displaying an integer list
Re: displaying an integer list
- Subject: Re: displaying an integer list
- From: Jeffrey Simpson <email@hidden>
- Date: Tue, 27 Oct 2009 12:10:48 -0400
- Acceptlanguage: en-US
- Thread-topic: displaying an integer list
Just a performance hint. You don't want to use "new Integer(2000)".
Use "Integer.valueOf(2000)". Integer.valueOf allows for the cacheing
of values.
appliedYear is an Integer.
I've added a formatter = "0000", but not help. I tried #1 but it
requires a "new Integer(2000)" etc for each. That should work, but I'm
just curious why its not handling the int to Integer conversion well.
Just something that I expected. I guess I'll do it the ugly way.
Jeffrey Simpson
Senior Software Engineer
Telephone: 240.235.2144
Fax: 240.235.2174
email@hidden
Youth For Understanding (YFU) prepares young people for their responsibilities and opportunities in a changing, interdependent world.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden