Zum Inhalt springen

akull82

Mitglieder
  • Gesamte Inhalte

    4
  • Benutzer seit

  • Letzter Besuch

Beiträge von akull82

  1. 50.000 objekte sind eine ganz menge, vielleicht sowas wie

    Object[] objects = new Object[50000];

    try {

    int index:

    for( int i=0; ; i++) {

    index = getObj().getLong();

    while( objects[ index ] != null )

    index++;

    objects[index] = getObj();

    }

    } catch( ArrayIndexOutOfBounds e ) {

    }

    wobei getObj dein einzu sotierendes object zurück gibt

Fachinformatiker.de, 2024 by SE Internet Services

fidelogo_small.png

Schicke uns eine Nachricht!

Fachinformatiker.de ist die größte IT-Community
rund um Ausbildung, Job, Weiterbildung für IT-Fachkräfte.

Fachinformatiker.de App

Download on the App Store
Get it on Google Play

Kontakt

Hier werben?
Oder sende eine E-Mail an

Social media u. feeds

Jobboard für Fachinformatiker und IT-Fachkräfte

×
×
  • Neu erstellen...