Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Wrapper Classes - getxxx() Question

 
Chris Gastin
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
All wrapper classes have their particular getXxx() - I do not quite follow the API for it. For example could someone explain to me what getInteger() does?
Thanks
Chris Gastin
 
Jose Botella
Ranch Hand
Posts: 2120
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch.
The porperties are name-value pairs that can be accessed with the methods getProperties() and getProperty() from the class System.
You can read about the class java.util.Properies in the Java Tutorial
 
Barry Gaunt
Ranch Hand
Posts: 7729
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Very simple example of use of Integer.getInteger:
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic