Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.help > #2274

Re: Change decimal color code on the fly

From Roedy Green <see_website@mindprod.com.invalid>
Newsgroups comp.lang.java.help
Subject Re: Change decimal color code on the fly
Date 2012-11-16 10:14 -0800
Organization Canadian Mind Products
Message-ID <8h0da8hp5garspokp88pji6v8d4mli2idr@4ax.com> (permalink)
References <5509b9ea-041a-46e6-b788-2abe90fcb8e7@googlegroups.com>

Show all headers | View raw


On Fri, 16 Nov 2012 08:05:12 -0800 (PST), Bob <bherbst65@hotmail.com>
wrote, quoted or indirectly quoted someone who said :

>   if (mSet ==  mSetx) {

that only works if both strings are interned, otherwise you must use
if (mSet.equals( mSetx))

They are not necessarily the precise same object.


 See http://mindprod.com/jgloss/gotchas.html
-- 
Roedy Green Canadian Mind Products http://mindprod.com
Types of Garbage Collection:
()In Canada, the government sends men to your house every every week
  to take away your garbage. Hoarders are free to hang onto things 
  they don't really need.
()In third world countries, it is up to you to take your own garbage away.
()Java’s garbage collection system is analogous to a garbage removal
  system where every hour, workers scan your house for junk mail, the
  contents of waste baskets and anything else they are absolutely sure you
  don't want to keep.
()C++'s system for disposing of unreferenced objects is similar to India's,
  with the strange feature that undiscarded garbage becomes invisible but
  still stinks.

Back to comp.lang.java.help | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Change decimal color code on the fly Bob <bherbst65@hotmail.com> - 2012-11-16 08:05 -0800
  Re: Change decimal color code on the fly Eric Sosman <esosman@comcast-dot-net.invalid> - 2012-11-16 11:49 -0500
  Re: Change decimal color code on the fly markspace <-@.> - 2012-11-16 08:50 -0800
  Re: Change decimal color code on the fly Nigel Wade <nmw@ion.le.ac.uk> - 2012-11-16 16:52 +0000
  Re: Change decimal color code on the fly Roedy Green <see_website@mindprod.com.invalid> - 2012-11-16 10:14 -0800
  Re: Change decimal color code on the fly Bob <bherbst65@hotmail.com> - 2012-11-16 10:39 -0800
    Re: Change decimal color code on the fly Eric Sosman <esosman@comcast-dot-net.invalid> - 2012-11-16 13:56 -0500
  Re: Change decimal color code on the fly Bob <bherbst65@hotmail.com> - 2012-11-16 12:23 -0800
    Re: Change decimal color code on the fly Lew <lewbloch@gmail.com> - 2012-11-16 12:38 -0800
    Re: Change decimal color code on the fly Eric Sosman <esosman@comcast-dot-net.invalid> - 2012-11-16 17:11 -0500

csiph-web