Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #11135
| From | Daniel Pitts <newsgroup.nospam@virtualinfinity.net> |
|---|---|
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: Regex doesn't recognize single quote |
| References | (2 earlier) <bloat-20120107123558@ram.dialup.fu-berlin.de> <tphhg71jbmq4q2vj5dtno5r01igvgdavh2@4ax.com> <low-level-20120108002217@ram.dialup.fu-berlin.de> <l2GOq.543$pM1.358@newsfe15.iad> <String-20120109192222@ram.dialup.fu-berlin.de> |
| Message-ID | <5qGOq.27262$d52.16183@newsfe22.iad> (permalink) |
| Date | 2012-01-09 10:33 -0800 |
On 1/9/12 10:23 AM, Stefan Ram wrote: > Daniel Pitts<newsgroup.nospam@virtualinfinity.net> writes: >> I'm not even going to comment on your insane style, as I think you've >> rebuffed all comments in the past. What I will comment on is the lack >> of consistency in this snippet. Some places use use "String" and others >> "java.lang.String". > > »String« is a class name used by Roedy. > > The actual class bound to the name of »String« depends on > the context the snippet given by Roedy will be placed in. > > Since I have no information on that class »String«, > I started by converting the String instance into a > java.lang.String instance. Then, I was able to apply the > operations of java.lang.String, which /are/ known to me. > In the final end, I had to convert the java.lang.String > instance back to an instance of the class »String«, > because this was required by the interface of that method > as given by Roedy. > Since String is in the java.lang package, it is safe to assume that "String" refers to the java.lang.String class, unless you are given context otherwise.
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Regex doesn't recognize single quote Jerric <jerricgao@gmail.com> - 2012-01-06 14:08 -0800
Re: Regex doesn't recognize single quote Martin Gregorie <martin@address-in-sig.invalid> - 2012-01-06 22:23 +0000
Re: Regex doesn't recognize single quote Jake Jarvis <pig_in_shoes@yahoo.com> - 2012-01-06 23:48 +0100
Re: Regex doesn't recognize single quote Daniel Pitts <newsgroup.nospam@virtualinfinity.net> - 2012-01-06 15:49 -0800
Re: Regex doesn't recognize single quote Jim Janney <jjanney@shell.xmission.com> - 2012-01-07 19:02 -0700
Re: Regex doesn't recognize single quote Daniel Pitts <newsgroup.nospam@virtualinfinity.net> - 2012-01-09 09:58 -0800
Re: Regex doesn't recognize single quote Roedy Green <see_website@mindprod.com.invalid> - 2012-01-06 21:47 -0800
Re: Regex doesn't recognize single quote Roedy Green <see_website@mindprod.com.invalid> - 2012-01-07 14:41 -0800
Re: Regex doesn't recognize single quote Rafael Villar <morgano5@hotmail.com> - 2012-01-08 09:05 +1000
Re: Regex doesn't recognize single quote Rafael Villar <morgano5@hotmail.com> - 2012-01-08 09:10 +1000
Re: Regex doesn't recognize single quote Lew <noone@lewscanon.com> - 2012-01-07 17:20 -0800
Re: Regex doesn't recognize single quote Daniel Pitts <newsgroup.nospam@virtualinfinity.net> - 2012-01-09 10:08 -0800
Re: Regex doesn't recognize single quote Daniel Pitts <newsgroup.nospam@virtualinfinity.net> - 2012-01-09 10:33 -0800
Re: Regex doesn't recognize single quote Roedy Green <see_website@mindprod.com.invalid> - 2012-01-07 14:48 -0800
Re: Regex doesn't recognize single quote Arved Sandstrom <asandstrom3minus1@eastlink.ca> - 2012-01-07 20:58 -0400
csiph-web