• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: displaying an integer list
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: Re: 2009 Survey Results
  • Next by Date: Re: displaying an integer list
  • Previous by thread: WebObjects Development on 10.6 with Eclipse and WOLips
  • Next by thread: Issue with AjaxModalDialog and AjaxSubmitButton
  • Index(es):
    • Date
    • Thread