The Artima Developer Community
Sponsored Link

Java Buzz Forum
Save thirteen bytes - (null instanceof String) is false!

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Tom Copeland

Posts: 486
Nickname: tcopeland
Registered: Nov, 2004

Tom Copeland is a junior developer.
Save thirteen bytes - (null instanceof String) is false! Posted: Dec 15, 2005 6:57 AM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by Tom Copeland.
Original Post: Save thirteen bytes - (null instanceof String) is false!
Feed Title: Junior developer: Java
Feed URL: http://tomcopeland.blogs.com/juniordeveloper/index-java.rdf
Feed Description: System.out.println("Hello world!");
Latest Java Buzz Posts
Latest Java Buzz Posts by Tom Copeland
Latest Posts From Junior developer: Java

Advertisement
Got any code like this? if (x != null x instanceof Foo) { // do something} Certainly the JDK does - at least, in JDK 1.4.2, PlainSocketImpl.java has a bunch of these. But since instanceof expressions return false if the...

Read: Save thirteen bytes - (null instanceof String) is false!

Topic: Good Java Developer vs Excellent Perl Hacker? Previous Topic   Next Topic Topic: The Disappearing SysAdmin and Enterprise Software Vendors

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use