Re: if ("test1".equals(strComparer) ) then
From: Neal Gafter (search-for-me-on-google_at_neal.gafter.com)
Date: 05/13/04
- Previous message: Vissu: "headless mode and linux"
- In reply to: perry: "Re: if ("test1".equals(strComparer) ) then"
- Next in thread: Michael Borgwardt: "Re: if ("test1".equals(strComparer) ) then"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 13 May 2004 03:13:47 GMT
perry wrote:
> in java, string constants can be considered static given that the
> objects of the String class are "immutable" as in, they cannot be
> changed directly. to have mutable string buffers that you are more
> familiar with in C++ you can use the StringBuffer class.
Better yet, if you don't need the synchronization built into StringBuffer, use
StringBuilder from JDK 1.5.
- Previous message: Vissu: "headless mode and linux"
- In reply to: perry: "Re: if ("test1".equals(strComparer) ) then"
- Next in thread: Michael Borgwardt: "Re: if ("test1".equals(strComparer) ) then"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|