tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Twiggs, Glenn" <Glenn_Twi...@bmc.com>
Subject RE: [OT] Feedback on Java?
Date Thu, 03 Jan 2002 17:07:26 GMT
This doesn't answer your question but may solve your problem anyway:

As an alternative to adding a method, you could use an existing method to
accomplish the same functionality:

  // Get remaining string in tokenizer by using no delimiters.
  String remainingString = tokenizer.nextToken("");

Glenn.

-----Original Message-----
From: Deacon Marcus [mailto:deacon_marcus@wwtech.pl]
Sent: Saturday, December 29, 2001 8:44 AM
To: tomcat-dev@jakarta.apache.org
Subject: [OT] Feedback on Java?


Hi,
If someone have some suggestions concerning general improvements on Java
standard classes (java.lang.*, java.util.* for example) what's the "best"
way to contact "right people" to include (or not...) it in next version?
Anyone here did something like that successfully?

Example: I needed a class like StringTokenizer which allows to get the
remaining part of the processed String, i.e. forger delimeters and return
from current position to String's end. I ended up butchering
StringTokenizer's source and adding getRemaining() to subclass otherwise
identical (since everything was private I had to duplicate every line, which
technically is (c) infringment afair) - no big deal, took less than an hour
including testing, but it's pretty strange noone thought about including
something so basic from v. 1.0 to 1.4.

Greetings,
     deacon Marcus


--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>

--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message