You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by "Twiggs, Glenn" <Gl...@bmc.com> on 2002/01/03 18:07:26 UTC

RE: [OT] Feedback on Java?

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:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>