18.11.2013 Aufrufe

Fehlerbehandlung in Java - Universität Oldenburg

Fehlerbehandlung in Java - Universität Oldenburg

Fehlerbehandlung in Java - Universität Oldenburg

MEHR ANZEIGEN
WENIGER ANZEIGEN

Sie wollen auch ein ePaper? Erhöhen Sie die Reichweite Ihrer Titel.

YUMPU macht aus Druck-PDFs automatisch weboptimierte ePaper, die Google liebt.

javadoc-Beispiel<br />

package java.util;<br />

/**<br />

* Vector class (a growable array).<br />

*<br />

* Each vector tries to optimize storage management by ma<strong>in</strong>ta<strong>in</strong><strong>in</strong>g<br />

* a capacity and a capacityIncrement. The capacity is always at<br />

* least as large as the vector size; it is usually larger because<br />

* as elements are added to the vector, the vector's storage<br />

* <strong>in</strong>creases <strong>in</strong> chunks the size of capacityIncrement. Sett<strong>in</strong>g<br />

* the capacity to what you want before <strong>in</strong>sert<strong>in</strong>g a large number of<br />

* objects will reduce the amount of <strong>in</strong>cremental reallocation.<br />

* You can safely ignore the capacity and the vector will still work<br />

* correctly.<br />

*<br />

* @version 1.29, 01 Dec 1995<br />

* @author Jonathan Payne<br />

* @author Lee Boynton<br />

*/<br />

public class Vector implements Cloneable {<br />

Programmierkurs <strong>Java</strong> Vorlesung 14 Dietrich Boles Seite 29

Hurra! Ihre Datei wurde hochgeladen und ist bereit für die Veröffentlichung.

Erfolgreich gespeichert!

Leider ist etwas schief gelaufen!