[ajug-members] php to java II
Wilson, Jeff
jw9615 at att.com
Fri Sep 5 14:17:33 EDT 2008
You seem to request a lot of class-level methods. That's not thinking
in the object oriented way. Things like String.split(), StringTokenizer,
List.toArray() do similar things but as object methods. It sounds like
you are concentrating on writing a PHP program but in Java, and it just
don't work that way...
+jeff (MJW)
---
"Death is not the end. There remains the litigation over the estate."
--A. Bierce
---------------------------------------------
M. Jeff Wilson, Lead Member Technical Staff
AT&T Services, Inc.
Operations & Service Dev
jw9615 at att.com
+1 404.499.7235
From: 521 [mailto:521 at ofig.org]
Sent: Friday, September 05, 2008 1:48 PM
To: ajug-members at ajug.org
Subject: [ajug-members] php to java II
the php implode/explode functions would be like a class-method in java
that recieves (1) a string, and (2) a delimiter, then gives back an
array of the strings that exist between the delimiter(s)...
On Thu, 04 Sep 2008 20:42:16 -0400, mcdaniel wrote
> in php there is an implode/explode function which provides
> array.to.string/string.to.array conversion- what is popular/correct to
> use in java?
>
> barclay
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.ajug.org/pipermail/ajug-members/attachments/20080905/27a895e8/attachment.html
More information about the ajug-members
mailing list