Java Backport

| | Comments (1) | TrackBacks (0)
Moin. Muss gerade mal was auf Java MIDP 1.0 zurückportieren. Kann ich mal bitte Kommentare dazu hören ob das:
int cut = name[i].lastIndexOf("->");
zu diesem:
      int from = 0;
      int cut;
      do  {
       cut = name[i].indexOf("->", from);
       from = cut;
      } while (name[i].indexOf("->", from) != -1);
äquivalent ist? Hab gerade keinen Bock und keine Zeit genauer darüber nachzudenken. Ja, Java 1.0 kennt tatsächlich kein .lastIndexOf()

Categories

0 TrackBacks

Listed below are links to blogs that reference this entry: Java Backport.

TrackBack URL for this entry: http://www.till-kothe.de/cgi-bin/mt/mt-tb.cgi/37

1 Comments

it guy said:

ist genau richtig....!!!

Leave a comment

Powered by Ajax Comments

About this Entry

This page contains a single entry by published on 21.10.04 21:46.

Turnhalle was the previous entry in this blog.

25 hours und doch nicht müde... is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.

Powered by Movable Type 4.21-en

Dinge von denen