[Home] [By Thread] [By Date] [Recent Entries]

  • From: Andrew Welch <andrew.j.welch@g...>
  • To: John Cowan <cowan@m...>
  • Date: Wed, 12 Oct 2011 16:47:54 +0100

> For a variety of reasons, String can have no subclasses in Java.

Ah yeah..

> A string can be of any length, including zero.

Yep, it would've been nice to have an inbuilt type for a
non-empty-string, as 99.9% of the time I want the value to be non
empty if its present.


-- 
Andrew Welch
http://andrewjwelch.com


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member