30.01.2014 Aufrufe

Translation Studies for Information Technologies V3- 02.03.11

Translation Studies for Information Technologies V3- 02.03.11

Translation Studies for Information Technologies V3- 02.03.11

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.

Implementierung Lineare Liste – 3<br />

Die Methodenköpfe der weiteren Operationen sehen wie folgt aus:<br />

getFirst: LinearList → <br />

public getFirst () {<br />

…<br />

}<br />

getLast: LinearList → <br />

public getLast () {<br />

…<br />

}<br />

length: LinearList → Integer<br />

public int length () {<br />

...<br />

}<br />

isEmpty: LinearList → Boolean<br />

public boolean isEmpty () {<br />

...<br />

}<br />

Die Implementierung ist jeweils relativ einfach<br />

INF2 – <strong>Translation</strong> <strong>Studies</strong> <strong>for</strong> In<strong>for</strong>mation <strong>Technologies</strong> <strong>V3</strong>- <strong>02.03.11</strong><br />

138

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

Erfolgreich gespeichert!

Leider ist etwas schief gelaufen!